SA-MP Forums Archive
Errors[+rep] - 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)
+--- Thread: Errors[+rep] (/showthread.php?tid=324749)



Errors[+rep] - Chris_Morrison - 10.03.2012

Hello
What's wrong with this code?
pawn Код:
MoveObject(pdd1, 239.549917,119.577560,1003.218688,1, 0.0, 0.0, 0.0)); // V
the errors:
pawn Код:
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\Server\gamemodes\M-RP.pwn(17236) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\Server\gamemodes\M-RP.pwn(17236) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator.WINXPSP3\щемзп дтбегд\Server\gamemodes\M-RP.pwn(17236) : warning 215: expression has no effect



Re: Errors[+rep] - Twisted_Insane - 10.03.2012

MoveObject(pdd1, 239.549917,119.577560,1003.218688,1, 0.0, 0.0, 0.0);

One bracket too much!


Re: Errors[+rep] - emon - 10.03.2012

Quote:

MoveObject(pdd1, 239.549917,119.577560,1003.218688,1, 0.0, 0.0, 0.0)); // V

hmm check ur spell or..
and also check if u defined the variable

Quote:

MoveObject(pdd1, 239.549917,119.577560,1003.218688,1, 0.0, 0.0, 0.0); // V




Re: Errors[+rep] - Faisal_khan - 10.03.2012

Do:
pawn Код:
MoveObject(pdd1, 239.549917,119.577560,1003.218688,1, 0.0, 0.0, 0.0); // V
As Twisted_Insane said.


Re: Errors[+rep] - Twisted_Insane - 10.03.2012

If you know that I said it first, then why are you repeating it?


Re: Errors[+rep] - emon - 10.03.2012

when i enter the post i didn't saw ur post when i reply i saw ur first one posted