Quote:
Originally Posted by berni
You would have to kill the timer at round end, or otherwise the timer would go into the next round.
And please use { } brackets for every block, not using them is a bad habbit and makes the code unreadable and becomes a problem when you want to extend the block with more lines later.
Code:
public Action:kill(Handle:timer)
{
for( new iClient = 1; iClient <= MaxClients; iClient++ ) {
if( IsClientInGame( iClient ) )
{
ForcePlayerSuicide(iClient);
}
}
}
|
Okey but when i try to add 'return Plugin_Stop' and 'return Plugin_Continue'
it wont let me compile it..