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;
}
}
__________________