Hallo Leute ,
ich habe mir eben ein Gate erstellt, und möchte es bewegen.
Nun hier der Code , und die Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/auf", cmdtext, true, 10) == 0)
{
MoveObject(lspdschranke,(1544.67553711,-1630.75878906,13.14531517,0.00000000,0.00000000,88.00000000,4);//object(barrierturn) (1)
return 1;
}
if (strcmp("/zu", cmdtext, true, 10) == 0)
{
MoveObject(lspdschranke,(1544.70373535,-1630.80773926,13.14531517,0.00000000,0.00000000,87.99499512,4); //object(barrierturn) (1)
return 1;
}
return 0;
}
C:\DOKUME~1\HP_BES~1.002\Desktop\test.pwn(188) : error 001: expected token: ",", but found ";"
C:\DOKUME~1\HP_BES~1.002\Desktop\test.pwn(193) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.