Advertisement
Guest User

Untitled

a guest
Jan 12th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. CMD:pizzero(playerid, params[])
  2. {
  3. Pizzero[playerid] = 1;
  4. if (IsPlayerInRangeOfPoint(playerid, 7.0, 2102.91, -1826.32, 13.55))
  5. {
  6. if(!IsPlayerInAnyVehicle(playerid))
  7. SendClientMessage(playerid, -1, "{E69E19}Felicitaciones! {FFFFFF}Ahora eres un pizzero");
  8. if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, 0x00FF00AA, "Baja del vehiculo para usar /trabajo.");
  9. }
  10. else
  11. {
  12. SendClientMessage(playerid, -1, "{E69E19}No estas en el lugar de trabajo de pizzero");
  13. }
  14. return 1;
  15. }
  16. CMD:llevarpizza(playerid, params[])
  17. {
  18. if(Pizzero[playerid] == 0)
  19. {
  20. SendClientMessage(playerid, -1, "{E69E19}No sos pizzero");
  21. return 1;
  22. }
  23. }
  24. CMD:dejarpizzero(playerid, params[])
  25. {
  26. Pizzero[playerid] = 0;
  27. SendClientMessage(playerid, -1, "Dejaste de ser pizzero");
  28. return 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement