• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [OMP] Errors compiling
#2
The first one use:

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)
  Reply


Messages In This Thread
[OMP] Errors compiling - by leoclose575 - 2023-01-27, 09:08 PM
RE: [OMP] Errors compiling - by Y_Less - 2023-02-06, 02:39 PM
RE: [OMP] Errors compiling - by db263856 - 2024-02-01, 11:39 PM
RE: [OMP] Errors compiling - by db263856 - 2024-02-01, 11:43 PM