Post: help
03-13-2016, 03:51 PM #1
DrHackHD
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); how can i make load a script only for a specific map?
(adsbygoogle = window.adsbygoogle || []).push({});
03-13-2016, 04:42 PM #2
Patrick
League Champion
common bro you don't need help, you got dis...
03-13-2016, 06:33 PM #3
Originally posted by DrHackHD View Post
how can i make load a script only for a specific map?


if(map == mymap) {
thread runshit();
}
it's that easy.
03-13-2016, 06:40 PM #4
HiddenHour
I defeated!
Originally posted by John View Post
if(map == mymap) {
thread runshit();
}
it's that easy.


    if(getDvar("mapname") == "mp_mapname")
{
//functions here
}

You didn't include EVERYTHING. Do you expect us to at least try to and do some work on our own or something MEGALELZ

The following 2 users say thank you to HiddenHour for this useful post:

iRnZ, John
03-13-2016, 08:41 PM #5
Loz
Vault dweller
i just use the level.script variable since its already stored, check in _globallogic.gsc
level.script = toLower(getDvar("mapname"));
then the use should be self explanatory, example
if(level.script == "the map you want")
//do stuff

The following 2 users say thank you to Loz for this useful post:

HiddenHour, Patrick
03-13-2016, 09:05 PM #6
DrHackHD
Bounty hunter
already tried guys, thanks anyway :(
03-13-2016, 09:12 PM #7
Patrick
League Champion
Originally posted by DrHackHD View Post
already tried guys, thanks anyway :(


gime the fucking code
03-13-2016, 09:46 PM #8
HiddenHour
I defeated!
Originally posted by 32085
gime the fucking code


I understood your reference Know what I mean

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo