14.11.2012, 20:42
I've been trying to figure my problem out in (I AM SERIOUS NOW) 3-4 hours i can't find it
Does any one see the problem?
pawn Код:
dcmd_onduty(playerid, params[])
{
#pragma unused params
if(IsPlayerInRangeOfPoint(playerid, 7.0, 257.1060, 78.4763, 1003.6406)) return 0;
{
if(GetPVarInt(playerid, "Cop") == 0) return SendClientMessage(playerid, COLOR_RED, "You are not a cop!");
else if(GetPVarInt(playerid, "Cop") == 1) return
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 22, 500);
GivePlayerWeapon(playerid, 31, 250);
SetPlayerArmour(playerid, 100);
SendClientMessage(playerid, COLOR_BLUE, "You are now on duty! Go do you job Officer!");
}
return 1;
}