Originally posted by GkMx
ive added someother code to my patch and its like a gamemode puts fog and does the infectable binds when loaded and it says uninitialised variable 'players' can you help is ?
If it says that then you have not defined players properly.
---------- Post added at 03:24 PM ---------- Previous post was at 03:19 PM ----------
Originally posted by GkMx
ive added someother code to my patch and its like a gamemode puts fog and does the infectable binds when loaded and it says uninitialised variable 'players' can you help is ?
Code:
ForAllPlayers()
{
for ( t=0; t < level.players.size; t++ )
{
players = level.players[t];
players thread Function();//Thread Function Here You Want To Use On All Players.
}
}
//e.g players thread ToggleGod();
---------- Post added at 06:25 PM ---------- Previous post was at 03:24 PM ----------
Originally posted by GkMx
ive added someother code to my patch and its like a gamemode puts fog and does the infectable binds when loaded and it says uninitialised variable 'players' can you help is ?
If you still get stuck then pm me ok.