13.02.2012, 23:14
Description: I am currently scripting side-jobs on my server. I am working on a delivery side-job right now.
(delivering packages). What I have so far is a 12 checkpoint job where each checkpoint you stop and advance. Now to make it more realistic I was hoping someone could tell me how to make the checkpoint delay for 5 seconds and say "UNLOADING PACKAGES FROM VEHICLE".What I mean is, when you pickup the next checkpoint, I want the truck to freeze for about 5 seconds and say "UNLOADING PACKAGES FROM VEHICLE".
Here is a checkpoint example.
What I showed you is a checkpoint transfer from 3-4 during the sidejob. Can someone make the checkpoint pause for 5 seconds instead of moving off right away. I would also like the vehicle to be frozen during the "UNLOADING PACKAGES" too. Like I said, once it says that for 5 seconds, I want the next checkpoint to show up and the vehicle to un-freeze. I will rep all helpful posts!
(delivering packages). What I have so far is a 12 checkpoint job where each checkpoint you stop and advance. Now to make it more realistic I was hoping someone could tell me how to make the checkpoint delay for 5 seconds and say "UNLOADING PACKAGES FROM VEHICLE".What I mean is, when you pickup the next checkpoint, I want the truck to freeze for about 5 seconds and say "UNLOADING PACKAGES FROM VEHICLE".
Here is a checkpoint example.
PHP код:
if(PizzaJob[playerid] == 3){
PizzaJob[playerid] = 4;
SetPlayerCheckpoint(playerid,1938.6512,165.6472,37.2813,3);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
return 1;
}
if(PizzaJob[playerid] == 4){
PizzaJob[playerid] = 5;
SetPlayerCheckpoint(playerid,1545.8014,17.1668,24.1406,3);
PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);
return 1;