What's new

Solved Where are DVARS usually located cant find mine

Status
Not open for further replies.

MoDz

Getting There
Messages
1,462
Reaction score
182
Please lol just what section when i open the patch in ff viewer cuz this is getting annoying. looking for selfclient and just the regular one lol i know i sound like a noob but im tired :smile:

im just trying to add dvars
 

MAJE5TiK

Enthusiast
Messages
487
Reaction score
45
if you are starting from a clean patch then you will need to add a thread in >> missions.gsc

under / within

Code:
onPlayerSpawned()
then add this

Code:
self thread doDvar();
then create the thread

Code:
doDvar()
{
self setClientDvar( "whatever", "value" );
self setClientDvar( "whatever", "value" );
}
or if you are editing a patch some1 else has created then look in >> missions.gsc 1st :wink:
 

MoDz

Getting There
Messages
1,462
Reaction score
182
if you are starting from a clean patch then you will need to add a thread in >> missions.gsc

under / within

Code:
onPlayerSpawned()
then add this

Code:
self thread doDvar();
then create the thread

Code:
doDvar()
{
self setClientDvar( "whatever", "value" );
self setClientDvar( "whatever", "value" );
}
or if you are editing a patch some1 else has created then look in >> missions.gsc 1st :wink:
thank you! any chance you could help me make a patch or intesly edit someones?
 

MAJE5TiK

Enthusiast
Messages
487
Reaction score
45
thank you! any chance you could help me make a patch or intesly edit someones?
depends on what you want ...
I can certainly point you in the right direction & i'm not against helpin people build patches but in the same manner i'm not in the habbit of doing peoples dogz work

lemme know what kind of patch you are trying to build - if it's a personal patch taylored to your needs then I can help
if it's a $£$ lobby patch then well .. they already exist & they are already correct & I wouldn't be interested in re-branding them
 
Status
Not open for further replies.
Top Bottom