Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:shop(playerid, params[])
- {
- if ( GetPVarInt( playerid, "AccountLocked" ) == 1 )
- {
- if(PlayerInfo[playerid][pLimba] == 1) // Engleza
- {
- SCM( playerid, COLOR_WHITE, "Your account is locked, use /unlockacc to unlock it." );
- }
- if(PlayerInfo[playerid][pLimba] == 2) // Romana
- {
- SCM( playerid, COLOR_WHITE, "Contul tau este blocat, deblocheaza-l folosind comanda /unlockacc." );
- }
- }
- if(gLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You are not logged in.");
- new tstr[32];
- format(tstr, sizeof(tstr), "{FFFFFF}SHOP (Tu ai {F7F416}%s GOLD{F7F416})", FormatNumber(PlayerInfo[playerid][pCoins]));
- ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_LIST, tstr, "1. Items\n2. Clan Items","SELECT", "EXIT");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement