Quote:
Originally Posted by Satori_Komeiji
PHP код:
if(weaponid != PlayerInfo[playerid][pWeapon][GetWeaponSlot(weaponid)]) Kick(playerid);
Will result in false positives. There's always a chance the variable doesn't store immediately, so it's better to send a warning to the admins instead of kicking instantly.
|
The variable is stored even before the weapon is given (first variable - then GivePlayerWeapon)