• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Compilation error
#3
Oh, you added open.mp include so you have a two solutions:

1. Add #define SAMP_COMPAT before your includes.
2. Find actual callbacks syntax (it's different) on open.mp wiki and just replace it + for weapons id you should use macro definitions (not ID's). Probably textdraws need it too.

First solution is's definitly a good option for you, beacause you don't need change anything in your code. Just add this define SAMP_COMPAT and gamemode should be build succesful.

In line 51910 you have a redefinition of GetWeaponSlot function. It's arleady defined by default.
  Reply


Messages In This Thread
Compilation error - by primat - 2025-09-05, 07:00 AM
RE: Compilation error - by primat - 2025-09-05, 07:14 AM
RE: Compilation error - by MrKacu13 - 2025-09-06, 04:58 PM
RE: Compilation error - by primat - 2025-09-07, 06:19 AM
RE: Compilation error - by primat - 2025-09-07, 06:29 AM
RE: Compilation error - by primat - 2025-09-07, 07:03 AM
RE: Compilation error - by MrKacu13 - 2025-09-07, 07:18 AM

Forum Jump: