Advertisement
Guest User

Untitled

a guest
Jan 25th, 2012
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. if(listitem == 2) // Armor
  2. {
  3. if(GetPlayerMoney(playerid) > 15500)
  4. {
  5. GivePlayerMoney(playerid,-15500);
  6. SetPlayerArmour(playerid,100);
  7. SendClientMessage(pAdmin, COLOR_WHITE, " [Schwarzmarkt] %s: Hat sich Armor gekauft, im Schwarzmarkt.");
  8. for(new i; i<MAX_PLAYERS; i++)
  9. {
  10. if(PlayerInfo[i][pAdmin] >= 1)
  11. {
  12. SendClientMessage(pAdmin, COLOR_WHITE, " [Schwarzmarkt] %s: Hat sich Armor gekauft, im Schwarzmarkt.");
  13. }
  14. }
  15. }
  16. }
  17. else
  18. {
  19. SendClientMessage(playerid, COLOR_WHITE, " Du hast nicht so viel Geld !");
  20. }
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement