2023-02-06, 02:39 PM
The first one use:
The second one I'm not sure, the code looks correct. Double-check by copying this:
IF that doesn't work it could be a library incorrectly hooking the calback.
PHP Code:
public OnPlayerKeyStateChange(playerid, KEY:newkeys, KEY:oldkeys)
The second one I'm not sure, the code looks correct. Double-check by copying this:
PHP Code:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
IF that doesn't work it could be a library incorrectly hooking the calback.
PHP Code:
GivePlayerWeapon(playerid, WEAPON_M4, 15)