Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. if(dialogid == DIALOG_MAFIA)
  2. {
  3. if(response)
  4. {
  5. if(PlayerInfo[playerid][pConnectHours] < 2 || PlayerInfo[playerid][pWRestricted] > 0) return SendClientMessageEx(playerid,COLOR_GRAD2, "Ban khong the su dung dieu nay khi dang chiu mot lenh cam vu khi!");
  6. if(listitem == 0)
  7. {
  8. if(PlayerInfo[playerid][pCash] >= 10000)
  9. {
  10. PlayerInfo[playerid][pCash] -= 10000;
  11. GivePlayerValidWeapon(playerid, 5, 1);
  12. SendClientMessageEx(playerid, COLOR_YELLOW, "Ban da mua thanh cong gay Baseball Bat.");
  13. }
  14. else SendClientMessageEx(playerid, COLOR_YELLOW, "{F00A0A}[?]{EAFF00}Ban khong du tien de mua vu khi nay."); // day
  15. }
  16. if(listitem == 1)
  17. {
  18. if(PlayerInfo[playerid][pCash] >= 15000)
  19. {
  20. PlayerInfo[playerid][pCash] -= 15000;
  21. GivePlayerValidWeapon(playerid, 8, 1);
  22. SendClientMessageEx(playerid, COLOR_YELLOW, "Ban da mua thanh cong gay Katana.");
  23. }
  24. else SendClientMessageEx(playerid, COLOR_YELLOW, "{F00A0A}[?]{EAFF00}Ban khong du tien de mua vu khi nay."); // day
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement