Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:work(playerid, params[]) {
- if(PlayerJob[playerid] == 0) return SendClientMessage(playerid, 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");
- switch(PlayerJob[playerid]) {
- case 1: {
- if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2631.9971,1858.7755,10.8203)) {
- SCM(playerid, 0x949494FF, "Eroare: Nu esti in locatia potrivita.");
- SetPlayerCheckpoint(playerid, 2631.9971,1858.7755,10.8203, 7.0);
- Checkpoint[playerid] = 1;
- }
- PlayerCar[playerid] = CreateVehicle(448, 2631.9971,1858.7755,10.8203, 90, 3, 1, 100, 0);
- PutPlayerInVehicle(playerid, PlayerCar[playerid], 0);
- JobWorking[playerid] = 1;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement