Jump to content
Lowe54

Is there a way to 'pause' scripts

Recommended Posts

HI

 

Just a quick question, as I am currently trying to spawn 2 vehicles that appear from off the map at the same time. At the moment they both spawn but are stuck in each other, I am wondering if there is a way to pause the script that spawns them long enough for one vehicle to move then the other vehicle spawns. It is being used in a private mod.

 

 

I have attached the current script as it is

 

 

Thanks in advance

 

Lowe54

 

LACallCrashRescue.txt

Link to comment
Share on other sites

I have tried what you suggested, it works for the delays but in regards to the vehicles being stuck I have managed to solve that by creating a second spawn point

 

Thanks very much

 

Lowe54

 

Edit: Im now getting a 'automatic variable p1 is allocated' warning when the vehicle spawns, is this normal?

Link to comment
Share on other sites

Hi all

I really should make this a 'Help with my scripting issues' thread, as i dont see the point in starting a new one that covers a scripting problem as now i have a new problem, I'm trying to make it so that i can buy personnell from a mobile center, like the FBI command truck in the LA mod, the only trouble is that it gives me a "(VCmd_Mobile_Command_Centre624e9): Warning: Automatic variable const char OBJ_FF[] is allocated", ive checked the script and can find nothing wrong, can anyone help, the script is attached

 

VCmd_Mobile_Command_Centre.txt

 

Lowe54

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...