17.05.2017, 17:06
PHP код:
if(weapon < 0 || weapon > 46) return SCM(playerid,-1,"{f00f00}[ERROR]: {F00f00}Invalid WeaponID");
PHP код:
IsValidWeapon(weaponid)
return (0 <= weaponid <= 46) && !(19 <= weaponid <= 21) ? true : false;
PHP код:
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
PHP код:
new InEvent[MAX_PLAYERS]; //Checking player if he is in/out event.
new EventOpened[MAX_PLAYERS]; //Checking if Event is opened to join it.
Also declaring variables like this is more clear (it's my own opinion)
PHP код:
new
FirstVariable,
SecondVariable,
LastVariable;