I have a vip plugin , with menu , and all of things
But i have a problem , function
Code:
register_logevent( "RoundStartEvent" , 2 , "1=Round_Start" );
public RoundStartEvent( )
{
new Players[ 32 ] , count;
get_players( Players , count , "ch" );
for( new i; i < count; i++ )
{
AlreadyUsed[ i ] = false;
}
}
I understood is not so good .
I mean , i want to use 1 option from /vipmenu in 1 round .
And sometimes i don't use /vipmenu in 1 round but it say i used it ... so -> BUG
Here come my question : is good if i replace roundstartevent with :
Code:
RegisterHam( Ham_Spawn , "player" , "SpawnPlayer" , 1 );
public SpawnPlayer( iPlayer )
{
AlreadyUsed[ iPlayer ] = false;
}
Or should i stick with RoundStartEvent ?
__________________