SA-MP Forums Archive
number of arguments does not match definition - 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: number of arguments does not match definition (/showthread.php?tid=631298)



number of arguments does not match definition - RobyRbb - 26.03.2017

Hello guys, can someone to help me with this?

Код:
number of arguments does not match definition
on
Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0 -207.8523,-227.3220,1146.7297)) return SCM(playerid, COLOR_LIGHTRED,"You can't use this command here.");



Re: number of arguments does not match definition - Toroi - 26.03.2017

Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0 -207.8523,-227.3220,1146.7297))
You skipped the comma of the range value.


Re: number of arguments does not match definition - J0sh... - 26.03.2017

PHP код:
if(IsPlayerInRangeOfPoint(playerid20.0, -207.8523,-227.3220,1146.7297)) 
You forgot the comma after 20.0


Re: number of arguments does not match definition - ISmokezU - 26.03.2017

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0, -207.8523,-227.3220,1146.7297)) return SCM(playerid, COLOR_LIGHTRED,"You can't use this command here.");
EDIT: 1s Late