06.11.2012, 02:19
I'm new to scripting and just trying to script an /enter and /exit command command with zcmd for LV Planning Area to test my interior map. But I keep getting these two errors:
Could someone please let me know what I'm doing wrong. Here is the script:
Код:
warning 202: number of arguments does not match definition warning 202: number of arguments does not match definition
PHP код:
CMD:enter(playerid, params[])
{
IsPlayerInRangeOfPoint(playerid, 1483.69995117,-1750.09997559,15.30000019);
SetPlayerPos(playerid, 1478.50000000,-1750.19995117,15.30000019);
return 1;
}
CMD:exit(playerid, params[])
{
IsPlayerInRangeOfPoint(playerid, 1478.50000000,-1750.19995117,15.30000019);
SetPlayerPos(playerid, 1483.69995117,-1750.09997559,15.30000019);
return 1;
}