Advertisement
Guest User

Untitled

a guest
May 27th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <a_samp>
  2. #include <zcmd>
  3. enum E_PLAYER_DATA
  4. {
  5. pRanga
  6. }
  7. new PlayerInfo[MAX_PLAYERS][E_PLAYER_DATA];
  8. CMD:acmd(playerid, params[])
  9. {
  10. if(PlayerInfo[playerid][pRanga] == 1)
  11. {
  12. print("test");
  13. ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{0066CC}Komendy{CC0099}Test Operatora.", "Spis w budowie!", "OK", "OK");
  14. }
  15. else
  16. {
  17. printf("Raga wynosie %d, a nie 1", PlayerInfo[playerid][pRanga]);
  18. }
  19. return 1;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement