04.05.2010, 13:49
Heloo There i want to make 1 command with
but i want to use in diferrent places with diferent action can you tell me how it look because i try and not work please make a exampe like this
P.S Sorry Fo My English I Am ROMANIAN
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z))
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/command",true))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, x,y, z))
{
//First Things Here
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, x,y, z))
{
//Second Thing Here
}
return 1;
}