25.12.2011, 13:30
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/mechduty", true) == 0) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) SetPlayerSkin(playerid, 50); SendClientMessage(playerid,0xFFFFFFFF,"You are now on duty as a Mechanic"); return 1; } return 1; }
Cheers
Christoffer