... \pawno\include\nex-ac.inc(2302) : error 025: function heading differs from prototype
... \pawno\include\nex-ac.inc(5362) : error 025: function heading differs from prototype
|
i do but continuous two error
PHP код:
|
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat)
OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
|
forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);forward ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z); |
FIRST LINE ERROR: forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
SECOND LINE ERROR: forward ac_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z);
?
|
C:\Users\user\Desktop\BG RP\CGRP\pawno\include\nex-ac.inc(3715) : warning 202: number of arguments does not match definition C:\Users\user\Desktop\BG RP\CGRP\pawno\include\nex-ac.inc(3729) : error 025: function heading differs from prototype C:\Users\user\Desktop\BG RP\CGRP\pawno\include\nex-ac.inc(4616) : warning 202: number of arguments does not match definition C:\Users\user\Desktop\BG RP\CGRP\pawno\include\nex-ac.inc(4630) : error 025: function heading differs from prototype |
|
nex-ac.inc(11) : fatal error 111: user error: Please download SA-MP 0.3.7 R2 server package!
|
|
public OnCheatDetected(playerid, ip_address[], type, code) |
|
How would I know which cheat player got banned for? I mean I'll get the code but what is the actual reason(money hax, weapon hax, ...)?
|
printf("%i", code);
D:\pawn\include\nex-ac.inc(3778) : warning 200: symbol "@yH_OnPlayerPickUpDynamicPickup" is truncated to 31 characters D:\pawn\include\nex-ac.inc(3778) : warning 200: symbol "@yH_OnPlayerPickUpDynamicPickup" is truncated to 31 characters D:\pawn\include\nex-ac.inc(4924) : warning 200: symbol "@yH_OnPlayerEnterDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(4924) : warning 200: symbol "@yH_OnPlayerEnterDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5010) : warning 200: symbol "@yH_OnPlayerLeaveDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5010) : warning 200: symbol "@yH_OnPlayerLeaveDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5092) : warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5092) : warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5129) : warning 200: symbol "@yH_OnVehicleDamageStatusUpdate" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5129) : warning 200: symbol "@yH_OnVehicleDamageStatusUpdate" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5165) : warning 200: symbol "@yH_OnVehicleSirenStateChange@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5165) : warning 200: symbol "@yH_OnVehicleSirenStateChange@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5201) : warning 200: symbol "@yH_OnPlayerSelectDynamicObject" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5201) : warning 200: symbol "@yH_OnPlayerSelectDynamicObject" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5274) : warning 200: symbol "@yH_OnUnoccupiedVehicleUpdate@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5274) : warning 200: symbol "@yH_OnUnoccupiedVehicleUpdate@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5366) : warning 200: symbol "@yH_OnPlayerEditAttachedObject@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5366) : warning 200: symbol "@yH_OnPlayerEditAttachedObject@" is truncated to 31 characters
|
Well, since code param is an integer, it would print nothing, doing
PHP код:
Edit: Код:
D:\pawn\include\nex-ac.inc(3778) : warning 200: symbol "@yH_OnPlayerPickUpDynamicPickup" is truncated to 31 characters D:\pawn\include\nex-ac.inc(3778) : warning 200: symbol "@yH_OnPlayerPickUpDynamicPickup" is truncated to 31 characters D:\pawn\include\nex-ac.inc(4924) : warning 200: symbol "@yH_OnPlayerEnterDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(4924) : warning 200: symbol "@yH_OnPlayerEnterDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5010) : warning 200: symbol "@yH_OnPlayerLeaveDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5010) : warning 200: symbol "@yH_OnPlayerLeaveDynamicRaceCP@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5092) : warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5092) : warning 200: symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5129) : warning 200: symbol "@yH_OnVehicleDamageStatusUpdate" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5129) : warning 200: symbol "@yH_OnVehicleDamageStatusUpdate" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5165) : warning 200: symbol "@yH_OnVehicleSirenStateChange@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5165) : warning 200: symbol "@yH_OnVehicleSirenStateChange@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5201) : warning 200: symbol "@yH_OnPlayerSelectDynamicObject" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5201) : warning 200: symbol "@yH_OnPlayerSelectDynamicObject" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5274) : warning 200: symbol "@yH_OnUnoccupiedVehicleUpdate@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5274) : warning 200: symbol "@yH_OnUnoccupiedVehicleUpdate@a" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5366) : warning 200: symbol "@yH_OnPlayerEditAttachedObject@" is truncated to 31 characters D:\pawn\include\nex-ac.inc(5366) : warning 200: symbol "@yH_OnPlayerEditAttachedObject@" is truncated to 31 characters |
0 Anti-AirBreak (onfoot) 1 Anti-AirBreak (in vehicle) 2 Anti-teleport hack (onfoot) 3 Anti-teleport hack (in vehicle) 4 Anti-teleport hack (into/between vehicles) 5 Anti-teleport hack (vehicle to player) 6 Anti-teleport hack (pickups) 7 Anti-FlyHack (onfoot) 8 Anti-FlyHack (in vehicle) 9 Anti-SpeedHack (onfoot) 10 Anti-SpeedHack (in vehicle) 11 Anti-Health hack (in vehicle) 12 Anti-Health hack (onfoot) 13 Anti-Armour hack 14 Anti-Money hack 15 Anti-Weapon hack 16 Anti-Ammo hack (add) 17 Anti-Ammo hack (infinite) 18 Anti-Special actions hack 19 Anti-GodMode from bullets (onfoot) 20 Anti-GodMode from bullets (in vehicle) 21 Anti-Invisible hack 22 Anti-lagcomp-spoof 23 Anti-Tuning hack 24 Anti-Parkour mod 25 Anti-Quick turn 26 Anti-Rapid fire 27 Anti-FakeSpawn 28 Anti-FakeKill 29 Anti-Pro Aim 30 Anti-CJ run 31 Anti-CarShot 32 Anti-CarJack 33 Anti-UnFreeze 34 Anti-AFK Ghost 35 Anti-Full Aiming 36 Anti-Fake NPC 37 Anti-Reconnect 38 Anti-High ping 39 Anti-Dialog hack 40 Protection from the sandbox 41 Protection against an invalid version 42 Anti-Rcon hack 43 Anti-Tuning crasher 44 Anti-Invalid seat crasher 45 Anti-Dialog crasher 46 Anti-Attached object crasher 47 Anti-Weapon Crasher 48 Flood protection connects to one slot 49 Anti-flood callback functions 50 Anti-flood change seat 51 Anti-Ddos 52 Anti-NOP's
|
I fixed it by making the hooks name shorter. (just modified the error lines) Would this work? I don't even use any of these callbacks except OnPlayerPickUpDynamicPickup.
|