SA-MP Forums Archive
Few errors in same line, can't figure out. - 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: Few errors in same line, can't figure out. (/showthread.php?tid=209169)



Few errors in same line, can't figure out. - Kasis - 10.01.2011

Hello, well i need little help. I can't figure out why i am getting those errors.
Код:
(134) : warning 202: number of arguments does not match definition
(134) : warning 215: expression has no effect
(134) : error 001: expected token: ";", but found ")"
(134) : error 029: invalid expression, assumed zero
(134) : warning 215: expression has no effect
And line -



Re: Few errors in same line, can't figure out. - blackwave - 10.01.2011

pawn Код:
SetPlayerHealth(playerid, 0);



Re: Few errors in same line, can't figure out. - Kyosaur - 10.01.2011

You added an extra parentheses to your SetPlayerHealth function.

Код:
SetPlayerHealth(playerid,0);
Edit: Looks like im to slow lol.


Re: Few errors in same line, can't figure out. - Kasis - 10.01.2011

Ah, Thanks you a lot guys.