Jump to content
Sign in to follow this  
Somerville

JIP and variable issues in Sahraniville

Recommended Posts

Hi,

Some of you might recognize the mission, and therefore will know how buggy it is. 101St clan has helped to remove some of the bugs, but some still remain.

Players who JIP - particularly the cops - cannot see if a player has already bought a driver's licence. This can lead to problems when players who have one are arrested/fined for not having one. I made a script which publicVariables the car licence variables, so that every 60 seconds or so it should update across the network, but it doesn't. How can I make it so that the variable is declared once, and even players who JIP can see it's true?

Hope you can help, thanks.

SGT.Somerville

GOL

Sahraniville

Share this post


Link to post
Share on other sites

Get rid of the 60 second loop your using and use setVehicleInit, instead:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Player SetVehicleInit "HASLICENSEVAR=True";

ProcessInitCommands;

Now when anyone JIP's, the variable HASLICENSEVAR will be created and set to true. Just replace HASLICENSEVAR with whatever variable you use in your mission.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×