07.01.2019, 12:26
"DisableInteriorEnterExits()" solved my problem. Thank you.
\pawno\include\nex-ac.inc(2031) : error 035: argument type mismatch (argument 7)
\pawno\include\nex-ac.inc(3577) : warning 202: number of arguments does not match definition \pawno\include\nex-ac.inc(3595) : error 025: function heading differs from prototype \pawno\include\nex-ac.inc(6706) : warning 202: number of arguments does not match definition \pawno\include\nex-ac.inc(6720) : error 025: function heading differs from prototype Hmmm, how to solve this? @OstGot |
public OnPlayerGiveDamage(playerid, damagedid, amount, weaponid, bodypart)
public OnVehicleDeath(vehicleid, killerid)
Update your Streamer Plugin and default SA-MP includes. Also make sure that the parameters of such publics in all your scripts the same as here:
PHP Code:
PHP Code:
|
#pragma warning disable 214
#pragma warning disable 239
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "foreach" C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 029: invalid expression, assumed zero C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "ac_i" C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
#include <a_samp> #include <streamer> #include <sscanf2> #include <foreach> #include <nex-ac>
I got this error
Код:
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "foreach" C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 029: invalid expression, assumed zero C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "ac_i" C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. Код:
#include <a_samp> #include <streamer> #include <sscanf2> #include <foreach> #include <nex-ac> |
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(3596) : warning 202: number of arguments does not match definition C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(3614) : error 025: function heading differs from prototype C:\Users\samp\Desktop\customskin selection update\PL-RP.pwn(74774) : warning 209: function "ac_OnPlayerInteriorChange" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
I got this error after I update the foreach.inc
Код:
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(3596) : warning 202: number of arguments does not match definition C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(3614) : error 025: function heading differs from prototype C:\Users\samp\Desktop\customskin selection update\PL-RP.pwn(74774) : warning 209: function "ac_OnPlayerInteriorChange" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart); // your script probably missed the "bodypart" parameter
At first you should find public OnPlayerGiveDamage in your script and check its parameters. It shoud be like that:
PHP код:
|
...\pawno\include\nex-ac.inc(6784) : warning 202: number of arguments does not match definition ...\pawno\include\nex-ac.inc(6798) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Help mee?