Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(equal(cmd,"/gwlist") && IsPlayerMAdmin(playerid))
- {
- if(playerinfo[playerid][admin] < 5 && playerid != ConsoleID) return SendClientMessage(playerid,red," .עליך להיות לפחות ברמת אדמין 5");
- new string[M_S_D];
- string = "\n\t\t--- :/GiveWeapon רשימת הנשקים לפקודה ---\n";
- for(new i = 0; i <= 46; i++)
- {
- if(i >= 19 && i <= 21) continue;
- format(string,sizeof(string),"%s\n * %02d - %s",string,i,WeaponName(i));
- }
- ShowPlayerDialog(playerid,dialog_ni,DIALOG_STYLE_MSGBOX,"/GiveWeapon רשימת הנשקים לפקודה",string,"OK","");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement