06-19-2012, 17:21
Hello,
what is the problem with this?
(already tried without for (; ;) tag )
what is the problem with this?
(already tried without for (; ;) tag )
Code:
init()
{
level thread onPlayerConnect();
}
onPlayerConnect()
{
level waittill( "connected", player );
for( ; ; )
{
if ( getDvar("mapname") == "mp_rust" )
{
self setDvar( "scr_game_hardpoints", 0)
}
else
{
self setDvar( "scr_game_hardpoints", 1)
}
}
}