08.12.2013, 16:10
how to add / set color name if they on duty ? like lspd ?
ex : am a government and i want to duty, but my name is not showing the color like green color or something when I was on duty
how to fix that ?
here the cmd for government
ex : am a government and i want to duty, but my name is not showing the color like green color or something when I was on duty
how to fix that ?
here the cmd for government
pawn Код:
CMD:se(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if(IsPlayerInRangeOfPoint(playerid,3,365.34,150.97,1025.79))
{
ShowPlayerDialog(playerid, SEMENU, DIALOG_STYLE_LIST, "Government","Duty\nUniforms\nEquipment", "Select", "Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your Senate lockers.");
}
}
return 1;
}