Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(listitem == 2) // Armor
- {
- if(GetPlayerMoney(playerid) > 15500)
- {
- GivePlayerMoney(playerid,-15500);
- SetPlayerArmour(playerid,100);
- SendClientMessage(pAdmin, COLOR_WHITE, " [Schwarzmarkt] %s: Hat sich Armor gekauft, im Schwarzmarkt.");
- for(new i; i<MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pAdmin] >= 1)
- {
- SendClientMessage(pAdmin, COLOR_WHITE, " [Schwarzmarkt] %s: Hat sich Armor gekauft, im Schwarzmarkt.");
- }
- }
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_WHITE, " Du hast nicht so viel Geld !");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement