scripts needed
ok there is a script that i need for my version of gungame. it has been give to me before but did not work so please before you give my the code see if it work. also i am putting all scripts in the _rank.gsc if it needs to go somewhere else please let me know where that file can be located or if you could put that full fills code on here and i will create it that would be fine to. sorry for being noob but i am still learning the scripting. if you are willing to explain how th script works that you send me that would be cool as well but im not saying you have to thanks in advanced.
What? Could you explain your problem a bit clearer so I can maybe help you.
i need the codes/scripted needed to not allow people to camp for more then a certain time. i have been given a code in the past to do so but it did not work so im just asking to make sure its a working code that is all
You could put this in missions or rank
and add "self thread antiAFK();" to onplayerspawned()
if you add self endon("disconnect"); to the script
i dont completely understand what you mean by adding it could you show me fallen so i understand what u are saying. just trying to learn
is the onplayerspawned in the rank.gsc file somewhere?
Yes, Its Caled onplayerspawned()
put the self thread antiAFK(); below self waittill("spawned_player");
player thread doBinds();
self thread antiAFK();
player thread onPlayerSpawned();
player thread onJoinedTeam();
player thread onJoinedSpectators();
}
}
like this for the onplayerspawn part of the code