Locker Command !HELP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Locker Command !HELP (
/showthread.php?tid=479430)
Locker Command !HELP -
Leak - 05.12.2013
hey i want to make this locker into my family locker is there a way i can do this
Код:
CMD:pmc(playerid, params[])
{
if(PlayerInfo[playerid] == 2 || FamilyInfo[family][FamilyRank1])
{
ShowPlayerDialog(playerid, DUTYMENU, DIALOG_STYLE_LIST, "PMC Menu","Duty\nEquipment", "Select", "Cancel");
}
return 1;
}
Re: Locker Command !HELP -
FahadKing07 - 07.12.2013
If u want to make it only for ur family than use this code:
Код:
CMD:pmc(playerid, params[])
{
if(FamilyInfo[family][FamilyRank] == _ )///Replace "_" with family rank which u want
{
ShowPlayerDialog(playerid, DUTYMENU, DIALOG_STYLE_LIST, "PMC Menu","Duty\nEquipment", "Select", "Cancel");
}
return 1;
}
Hope it will help you, if not pm me.