[help] Error AGAIN ;S ;sigh; - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help] Error AGAIN ;S ;sigh; (
/showthread.php?tid=121269)
[help] Error AGAIN ;S ;sigh; -
dclaw - 16.01.2010
i got the error:
Код:
(388) : error 029: invalid expression, assumed zero
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/open", true) == 0
{ // this is line 338
MoveObject(gate,-293.828,1507.450,76.070,1.5000);
SetTimer("closegate", 7000, false);
return 1;
}
Re: [help] Error AGAIN ;S ;sigh; -
FireFox_ - 16.01.2010
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/open", true) == 0) //<== you forgot )
{
MoveObject(gate,-293.828,1507.450,76.070,1.5000);
SetTimer("closegate", 7000, false);
return 1;
}
Re: [help] Error AGAIN ;S ;sigh; -
dclaw - 16.01.2010
Quote:
Originally Posted by <Krys>
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext,"/open", true) == 0) //<== you forgot ) { MoveObject(gate,-293.828,1507.450,76.070,1.5000); SetTimer("closegate", 7000, false); return 1; }
|
Lol xD thnx