Vision Problem!!
Me again :$
So my problem is i've been adding visions to my mod but when i kill anyone or when i died and wait 5 seconds, the vision will turn off -.-
Here my code
OnPlayerspawned:
And the source code :
Can anyone help me?
So my problem is i've been adding visions to my mod but when i kill anyone or when i died and wait 5 seconds, the vision will turn off -.-
Here my code
OnPlayerspawned:
Code:
// Visonen self thread Visionen();
Code:
Visionen()
{
self endon ("disconnect");
if(getDvar("mapname") == "mp_favela") {
self VisionSetNakedForPlayer( "airport_exterior", 1.2 );}
if(getDvar("mapname") == "mp_highrise"){
self VisionSetNakedForPlayer( "dcemp_iss", 0 );}
if(getDvar("mapname") == "mp_nightshift"){
self VisionSetNakedForPlayer( "dcemp_iss", 0 );}
if(getDvar("mapname") == "mp_rust"){
self VisionSetNakedForPlayer( "dcburning_rooftops", 0 );}
if(getDvar("mapname") == "mp_terminal"){
self VisionSetNakedForPlayer( "airport_exterior", 1.2 );}
}


)

