public OnPlayerStateChange(playerid, oldstate, newstate){ if(newstate == 2) GivePlayerWeapon(playerid, 0, 6666); // Give the player fists with an arbitrary ammo value return 1;}