Advertisement
Guest User

Untitled

a guest
Feb 24th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. CMD:shop(playerid, params[])
  2. {
  3. if ( GetPVarInt( playerid, "AccountLocked" ) == 1 )
  4. {
  5. if(PlayerInfo[playerid][pLimba] == 1) // Engleza
  6. {
  7. SCM( playerid, COLOR_WHITE, "Your account is locked, use /unlockacc to unlock it." );
  8. }
  9. if(PlayerInfo[playerid][pLimba] == 2) // Romana
  10. {
  11. SCM( playerid, COLOR_WHITE, "Contul tau este blocat, deblocheaza-l folosind comanda /unlockacc." );
  12. }
  13. }
  14. if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You are not logged in.");
  15. new tstr[32];
  16. format(tstr, sizeof(tstr), "{FFFFFF}SHOP (Tu ai {F7F416}%s GOLD{F7F416})", FormatNumber(PlayerInfo[playerid][pCoins]));
  17. ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_LIST, tstr, "1. Items\n2. Clan Items","SELECT", "EXIT");
  18. return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement