02.06.2016, 16:53
Working, thanks solved.
- For SetTimer performance loss:
- For SetTimer performance loss:
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE)){ new weap = GetPlayerWeapon(playerid); if(weap > 1 && weap != 46 && Weapon[playerid][weap] == false) { /* Kick or Ban and message. */ }} return 1; }