View Single Post
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 02-28-2012 , 08:25   Re: Plugin Last & Plugin Shop.
#23

J'avais compris, mais pourquoi mettre ça dans CmdStart ? Il y a des méthodes beaucoup plus efficace.

Edit :

Code:
register_event( "CurWeapon" , "Event_CurWeapon" , "be" , "1=1" , "3>0" ); public Event_CurWeapon( id ) {     new iId = read_data( 2 );     new iPlayerWeaponReloading = g_iPlayerWeaponReloading[ id ];     if( iPlayerWeaponReloading && iPlayerWeaponReloading == iId )     {         // ici, le joueur a fini de reload, tu peux donc mettre les bpammo sur 1         cs_set_user_bpammo( id , CSW_DEAGLE , 1 );         g_iPlayerWeaponReloading[ id ] = 0;     } }
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 02-28-2012 at 08:33.
Devil259 is offline