Advertisement
Guest User

Comando terminado!

a guest
Feb 13th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. CMD:basurero(playerid, params[])
  2. {
  3. if(IsPlayerInRangeOfPoint(playerid, 1,-164.713531,-1548.690551,6.331250))
  4. {
  5.  
  6. if(PlayerInfo[playerid][pTrabajo] == 5 || PlayerInfo[playerid][pTrabajo2] == 5)
  7. {
  8. if(PlayerInfo[playerid][pRopaBasurero] == 0)
  9. {
  10. SendClientMessage(playerid, COLOR_WHITE, "Te colocaste en servicio de "Gris"basurero.");
  11. PlayerInfo[playerid][pRopaBasurero] = 1;
  12. SetPlayerSkin(playerid, 16);
  13. }
  14. else if(PlayerInfo[playerid][pRopaBasurero] == 1)
  15. {
  16. SendClientMessage(playerid, COLOR_WHITE, "Dejaste el servicio de "Gris"basurero.");
  17. PlayerInfo[playerid][pRopaBasurero] = 0;
  18. SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
  19. }
  20. }
  21. } else return SendClientMessage(playerid, COLOR_WHITE, "No estás donde se consigue la ropa de "Gris"basurero.");
  22. return 1;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement