Guest User

Untitled

a guest
Nov 3rd, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. if(strcmp(item,"roupa", true) == 0)
  2. {
  3. if(PlayerInfo[playerid][pDuty] > 0) return SendClientMessage(playerid,-1, "Você não pode comprar Roupa estando em servicio");
  4. if(IsPlayerInRangeOfPoint(playerid,5.0, -2234.9575,128.3069,1035.4141) || IsPlayerInRangeOfPoint(playerid, 5.0, 206.3745,-7.1216,1001.2109) || IsPlayerInRangeOfPoint(playerid, 5.0, 204.3346,-159.3510,1000.5234) || IsPlayerInRangeOfPoint(playerid, 5.0, 207.0350,-129.1839,1003.5078) || IsPlayerInRangeOfPoint(playerid, 5.0, 161.3929,-83.2527,1001.8047) || IsPlayerInRangeOfPoint(playerid, 5.0, 207.2765,-100.3278,1005.2578) || IsPlayerInRangeOfPoint(playerid, 5.0, 203.9030,-43.2618,1001.8047))
  5. {
  6. if(PlayerInfo[playerid][Moneda] < 5) return SendClientMessage(playerid,-1,"Você não tem Pz suficiente para comprar uma roupa {00CC00}(5 Pz)");
  7. switch(PlayerInfo[playerid][jSexo])
  8. {
  9. case 1:
  10. {
  11. ShowModelSelectionMenu(playerid, skins, "Roupas");
  12. SendClientMessage(playerid,-1,"Selecione a roupa que mais te agrada, cada uma tem o valor de {00CC00}(5 Pz)");
  13. }
  14. case 2:
  15. {
  16. ShowModelSelectionMenu(playerid, skins, "Roupas");
  17. SendClientMessage(playerid,-1,"Selecione a roupa que mais te agrada, cada uma tem o valor de {00CC00}(5 Pz)");
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment