24.01.2014, 18:24
(
Последний раз редактировалось aDo7; 24.01.2014 в 19:39.
)
Hello Guys,
I got problem with Government Locker, i got the Commands but i can't see it, and when i stand on his range point.
i found Massage say [You aren't in range of your Senate lockers] i need help.
Here's the CMDS:
I think i fixed the problem, i should change VW
To
I got problem with Government Locker, i got the Commands but i can't see it, and when i stand on his range point.
i found Massage say [You aren't in range of your Senate lockers] i need help.
Here's the CMDS:
PHP код:
CMD:se(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
{
if(IsPlayerInRangeOfPoint(playerid,3,354.37,173.91,1008.38) && GetPlayerVirtualWorld(playerid) == 20041)// SENATE Duty
{
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;
}
PHP код:
(playerid) == 20041)// SENATE Duty
PHP код:
(playerid) == 0)// SENATE Duty