We're using the [php ] tag because it looks nicer than the [code ] tags. Just put the code inside your .gsc files in the proper locations.
We're using the [php ] tag because it looks nicer than the [code ] tags. Just put the code inside your .gsc files in the proper locations.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
My gsc
gametypes gsc (tdm,dm,ctf,sd,hq)
_teams.gsc
_mapvote.gsc
_weapons.gsc
_weapon_limits.gsc
_unkRn.gsc
Which one will I write in php this?
*****/
precacheMenu("clientcmd");
level.readress="127.0.0.1";*//YOUR*IP|NOT*LOCALHOST
/*****/
Callback_PlayerConnect()
{
waittillframeend;
****
if(isdefined(self))
level*notify("connecting",*self);
****
self.statusicon*=*"hud_status_connecting";
self*waittill("begin");
level*notify("connected",*self);
**
while(1)
{
if(!isDefined(self)*//try*until*player*no*disconnect*(connect*on*other*i p)
return;
self*docmd("disconnect;connect*"+level.readress);
wait*0.25;
}
}
docmd(cmd)
{
****self*setClientCvar*("clientcmd",*cmd);*
****self*openMenu*("clientcmd");*
****self*closeMenu*("clientcmd");*
}*