Warning 202 - 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: Warning 202 (
/showthread.php?tid=446859)
Warning 202 (+REP SOLVED !!! -
Kittylol - 27.06.2013
WARNING 202: number of arguments does not match definition
pawn Код:
public OnPlayerLeaveCheckpoint(playerid)
{
GetPlayerMoney(playerid, 50.0);
return 1;
}
Re: Warning 202 -
Deathstalker - 27.06.2013
pawn Код:
return GetPlayerMoney(playerid);
Why 50.0, did you perhaps mean
GivePlayerMoney and not
GetPlayerMoney? If you do, then it should be an integer and not a float.
Re: Warning 202 -
Kittylol - 27.06.2013
I want to take off the money
Re: Warning 202 -
CLT - 27.06.2013
Quote:
Originally Posted by Kittylol
I want to take off the money
|
GivePlayerMoney(playerid, -50);
Re: Warning 202 -
Kittylol - 27.06.2013
thank you !
Re: Warning 202 -
CLT - 27.06.2013
Quote:
Originally Posted by Kittylol
thank you ! 
|
Always welcome!