[HELP] Command Help
#5

try it with the "else" here is the code :
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/command",true))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, x,y, z))
{
//First Things Here
}
else if(IsPlayerInRangeOfPoint(playerid, 7.0, x,y, z))
{
//Second Thing Here
}
return 1;
}
return 0;
}
Reply


Messages In This Thread
[HELP] Command Help - by eDz0r - 04.05.2010, 13:49
Re: [HELP] Command Help - by Cristiano[TW[ - 04.05.2010, 14:47
Re: [HELP] Command Help - by Jakku - 04.05.2010, 14:58
Re: [HELP] Command Help - by eDz0r - 04.05.2010, 15:14
Re: [HELP] Command Help - by aircombat - 04.05.2010, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)