Yeah, here is where I call the function to add the person to the "Not Ready!" list...
Code:
public client_putinserver(id)
{
playerlistNotReady(id)
}
Now, it add's them fine...with this code.
Code:
public playerlistNotReady(id)
{
get_user_name(id,playername,31)
if (equal(notready,"None!"))
format(notready,31,"%s",playername)
else {
format(list1,31,"^n%s",playername)
add(notready,255,list)
}
return 1
}
And if they leave the server, they get removed with this code...(Also removes them if they are ready, but either ready or not, it still doesn't work...)
Code:
public playerListRemove(id)
{
get_user_name(id,playername,31)
format(list,39,"%s",playername)
replace(notready,255,list,"None!")
format(list,39,"^n%s",playername)
replace(notready,255,list,"")
format(list,39,"%s^n",playername)
replace(notready,255,list,"")
}
Which I also use the same removal code for the person if they leave while they are on the "Ready!" list...
I call that whenever they leave the server, so in...
Code:
public client_disconnect(id)
{
playerListRemove(id)
}