22.12.2012, 11:27
pawn Код:
if(strcmp(cmdtext,"/duty",true)==0)
{
if(IsPlayerInRangeOfPoint(playerid,5, 264.1788,109.7014,1004.6172)) {
SetPlayerSkin(playerid, 280);
SendClientMessage(playerid, 0xFF0000AA, "* To get a car go to the icon in the garage and it will tell you what to type!");
SendClientMessage(playerid, 0xFF0000AA, "* Type /weapons too see a list of weapons!");
}
else {
SendClientMessage(playerid, 0xFF0000AA, "* You are not in range of the /duty point");
}
return 1;
}