04.05.2010, 15:56
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;
}

