Ok, i have a cave where it gets dark when you go inside (which works fine...), then when you walk out u link to the gmap. on the gmap i want it to be light again, but whatever i do it wont work >
This is what i have in the cave:
PHP Code:
//#CLIENTSIDE
if (created){
dontblock;
drawaslight;
setcoloreffect 1,1,0,0.50;
timeout = .5;
}
if (timeout) {
seteffect ,,,random(.30,.60);
sleep random(.2,.1);
timeout = .1;
}
And i also have:
PHP Code:
//#CLIENTSIDE
if (playerleaves) {
seteffect 0,0,0,.0;
}
non of this works... so on the gmap i have this script:
PHP Code:
//#CLIENTSIDE
if (created){
seteffect ,,,0;
}
if (playerenters){
seteffect ,,,0;
}
and still it wont work x.x
can somone help me out?