Raised This Month: $ Target: $400
 0% 

RoundStartEvent - help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ax3l
Member
Join Date: Nov 2009
Old 07-18-2012 , 18:47   RoundStartEvent - help
Reply With Quote #1

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 ?
__________________
Ax3l is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode