Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. CMD:work(playerid, params[]) {
  2. if(PlayerJob[playerid] == 0) return SendClientMessage(playerid, 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");
  3. switch(PlayerJob[playerid]) {
  4. case 1: {
  5. if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2631.9971,1858.7755,10.8203)) {
  6. SCM(playerid, 0x949494FF, "Eroare: Nu esti in locatia potrivita.");
  7. SetPlayerCheckpoint(playerid, 2631.9971,1858.7755,10.8203, 7.0);
  8. Checkpoint[playerid] = 1;
  9. }
  10. PlayerCar[playerid] = CreateVehicle(448, 2631.9971,1858.7755,10.8203, 90, 3, 1, 100, 0);
  11. PutPlayerInVehicle(playerid, PlayerCar[playerid], 0);
  12. JobWorking[playerid] = 1;
  13. }
  14. }
  15. return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement