Advertisement
Guest User

Untitled

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