Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- enum E_PLAYER_DATA
- {
- pRanga
- }
- new PlayerInfo[MAX_PLAYERS][E_PLAYER_DATA];
- CMD:acmd(playerid, params[])
- {
- if(PlayerInfo[playerid][pRanga] == 1)
- {
- print("test");
- ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0066CC}Komendy{CC0099}Test Operatora.", "Spis w budowie!", "OK", "OK");
- }
- else
- {
- printf("Raga wynosie %d, a nie 1", PlayerInfo[playerid][pRanga]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement