1 warning
#1

number of arguments does not match definition, i made a buy command i want the player to be at a certain point but also a interior which is 24/7 interior, i tried everything but i still get 1 warning

number of arguments does not match definition

this is the command

if (strcmp("/buy", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 4.0, -28.1007,-89.9386,1003.5469) && GetPlayerInterior(playerid, 1) return SendClientMessage(playerid,COLOR_WHITE,"You are not in any 24/7 store!");
{
TogglePlayerControllable(playerid,0);
ShowMenuForPlayer(Store,playerid);
}
return 1;
}

and this is the buggy line

if(IsPlayerInRangeOfPoint(playerid, 4.0, -28.1007,-89.9386,1003.5469) && GetPlayerInterior(playerid, 1) return SendClientMessage(playerid,COLOR_WHITE,"You are not in any 24/7 store!");
Reply


Messages In This Thread
1 warning - by stix - 16.08.2010, 05:52
Re: 1 warning - by eDz0r - 16.08.2010, 05:59
Re: 1 warning - by stix - 16.08.2010, 06:04
Re: 1 warning - by eDz0r - 16.08.2010, 06:12
Re: 1 warning - by stix - 16.08.2010, 06:13
Re: 1 warning - by wups - 16.08.2010, 07:26

Forum Jump:


Users browsing this thread: 2 Guest(s)