02.05.2016, 19:16
Hello. When I compile appear the following errors:
lines:
What could be the problem ?
Thank you all!
PHP код:
mod2\pawno\include\nex-ac.inc(1441) : error 035: argument type mismatch (argument 10)
mod2\pawno\include\nex-ac.inc(1439) : warning 203: symbol is never used: "maxplayers"
mod2\pawno\include\nex-ac.inc(1439) : warning 203: symbol is never used: "maxinteriors"
mod2\pawno\include\nex-ac.inc(1439) : warning 203: symbol is never used: "maxworlds"
mod2\pawno\include\nex-ac.inc(2288) : warning 202: number of arguments does not match definition
mod2\pawno\include\nex-ac.inc(2302) : error 025: function heading differs from prototype
mod2\pawno\include\nex-ac.inc(4616) : warning 202: number of arguments does not match definition
mod2\pawno\include\nex-ac.inc(4630) : error 025: function heading differs from prototype
mod2\pawno\include\eSelection.inc(651) : warning 201: redefinition of constant/macro (symbol "OnPlayerClickPlayerTextDraw")
PHP код:
1439 - stock acc_CreateDynamicPickupEx(modelid, type, Float:x, Float:y, Float:z, Float:streamdistance = 100.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players)
{
1441- new ac_pickupid = CreateDynamicPickupEx(modelid, type, x, y, z, streamdistance, worlds, interiors, players, maxworlds, maxinteriors, maxplayers);
2288- return ac_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart);
2302- forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
4416- return ac_OnVehicleDeath(vehicleid, killerid);
4630- forward ac_OnVehicleDeath(vehicleid, killerid);
Thank you all!