Help me nex-ac error
#1

ERROR !
D:\Jocuri\93.119.26.145-7777\pawno\include\nex-ac.inc(6667) : warning 202: number of arguments does not match definition
D:\Jocuri\93.119.26.145-7777\pawno\include\nex-ac.inc(6681) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


stock TDShow(playerid)
{
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
new str[64];
format(str,sizeof(str),"%02d:%02d",Hour,Minute);
PlayerTextDrawSetString(playerid,Textdsraws19[playerid],str);

PlayerTextDrawShow(playerid,Textdsraws16[playerid]);
PlayerTextDrawShow(playerid,Textdsraws0[playerid]);
PlayerTextDrawShow(playerid,Textdsraws1[playerid]);
PlayerTextDrawShow(playerid,Textdsraws2[playerid]);
PlayerTextDrawShow(playerid,Textdsraws3[playerid]);
PlayerTextDrawShow(playerid,Textdsraws4[playerid]); 6667
PlayerTextDrawShow(playerid,Textdsraws16[playerid]);
PlayerTextDrawShow(playerid,Textdsraws5[playerid]);
PlayerTextDrawShow(playerid,Textdsraws6[playerid]);
PlayerTextDrawShow(playerid,Textdsraws7[playerid]);
PlayerTextDrawShow(playerid,Textdsraws8[playerid]);
PlayerTextDrawShow(playerid,Textdsraws9[playerid]);
PlayerTextDrawShow(playerid,Textdsraws10[playerid]);
PlayerTextDrawShow(playerid,Textdsraws11[playerid]);
PlayerTextDrawShow(playerid,Textdsraws12[playerid]);
PlayerTextDrawShow(playerid,Textdsraws13[playerid]);
PlayerTextDrawShow(playerid,Textdsraws14[playerid]);
PlayerTextDrawShow(playerid,Textdsraws15[playerid]);
PlayerTextDrawShow(playerid,Textdsraws17[playerid]);
PlayerTextDrawShow(playerid,Textdsraws18[playerid]); 6681
PlayerTextDrawShow(playerid,Textdsraws19[playerid]);
PlayerTextDrawShow(playerid,Textdsraws20[playerid]);
PlayerTextDrawShow(playerid,Textdsraws21[playerid]);
PlayerTextDrawShow(playerid,Textdsraws22[playerid]);
PlayerTextDrawShow(playerid,Textdsraws23[playerid]);
PlayerTextDrawShow(playerid,Textdsraws24[playerid]);
PlayerTextDrawShow(playerid,Textdsraws25[playerid]);
PlayerTextDrawShow(playerid,Textdsraws26[playerid]);
PlayerTextDrawShow(playerid,Textdsraws27[playerid]);
PlayerTextDrawShow(playerid,Textdsraws28[playerid]);
PlayerTextDrawHide(playerid,Textdsraws2228[playerid]);
return 1;
}
Reply
#2

Quote:
Originally Posted by KillForFunN
Посмотреть сообщение
PlayerTextDrawShow(playerid,Textdsraws16[playerid]);
PlayerTextDrawShow(playerid,Textdsraws0[playerid]);
PlayerTextDrawShow(playerid,Textdsraws1[playerid]);
PlayerTextDrawShow(playerid,Textdsraws2[playerid]);
PlayerTextDrawShow(playerid,Textdsraws3[playerid]);
PlayerTextDrawShow(playerid,Textdsraws4[playerid]); 6667
PlayerTextDrawShow(playerid,Textdsraws16[playerid]);
PlayerTextDrawShow(playerid,Textdsraws5[playerid]);
PlayerTextDrawShow(playerid,Textdsraws6[playerid]);
PlayerTextDrawShow(playerid,Textdsraws7[playerid]);
PlayerTextDrawShow(playerid,Textdsraws8[playerid]);
PlayerTextDrawShow(playerid,Textdsraws9[playerid]);
PlayerTextDrawShow(playerid,Textdsraws10[playerid]);
PlayerTextDrawShow(playerid,Textdsraws11[playerid]);
PlayerTextDrawShow(playerid,Textdsraws12[playerid]);
PlayerTextDrawShow(playerid,Textdsraws13[playerid]);
PlayerTextDrawShow(playerid,Textdsraws14[playerid]);
PlayerTextDrawShow(playerid,Textdsraws15[playerid]);
PlayerTextDrawShow(playerid,Textdsraws17[playerid]);
PlayerTextDrawShow(playerid,Textdsraws18[playerid]); 6681
PlayerTextDrawShow(playerid,Textdsraws19[playerid]);
PlayerTextDrawShow(playerid,Textdsraws20[playerid]);
PlayerTextDrawShow(playerid,Textdsraws21[playerid]);
PlayerTextDrawShow(playerid,Textdsraws22[playerid]);
PlayerTextDrawShow(playerid,Textdsraws23[playerid]);
PlayerTextDrawShow(playerid,Textdsraws24[playerid]);
PlayerTextDrawShow(playerid,Textdsraws25[playerid]);
PlayerTextDrawShow(playerid,Textdsraws26[playerid]);
PlayerTextDrawShow(playerid,Textdsraws27[playerid]);
PlayerTextDrawShow(playerid,Textdsraws28[playerid]);
PlayerTextDrawHide(playerid,Textdsraws2228[playerid]);
What this?
Reply
#3

This is Line.
I wrote those lines to see clearly where I was wrong, I'm not in the game like that
Reply
#4

This error in nex-ac include at line 6681 and 6667 no in your gamemode
...\pawno\include\nex-ac.inc(6681)
...\pawno\include\nex-ac.inc(6681)

Check..
Reply
#5

THIS IS IN GAMEMOD!

Quote:

public OnVehicleDeath(vehicleid)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
vehEngine[vehicleid] = 0;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,d oors,bonnet,boot,objective); <----"DOORS" I do not know why she is spitting
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,li ghts,alarm,doors,bonnet,boot,objective); <-----"LIGHTS" I do not know why she is spitting
if(IsAnOwnableCar(vehicleid))
{
foreach(Player,i)
{
for(new v; v < PlayerInfo[i][pCarSlots]; v++)
{
if(PlayerInfo[i][pCarID][v] == vehicleid)
{
PlayerInfo[i][pCarHP][v] = 1000.0;
if(PlayerInfo[i][pCarIns][v] != 0)
{
PlayerInfo[i][pCarIns][v]--;
}
cUpdate(i, v, cInsurancecarx);
cUpdate(i, v, cKMx);
cUpdate(i, v, cHPx);
}
}
}
}
if(Destroycar == 1)
{
if(Carspawn[vehicleid] != 0)
{
DestroyVehicle(Carspawn[vehicleid]);
Carspawn[vehicleid] = 0;
}
}
StopAudioStreamForPlayersInCar(vehicleid);
return 1;
}
THIS IS IN INCLUDE


Quote:

new Float:ac_vHealth;
GetVehicleHealth(vehicleid, ac_vHealth);
if(ac_vHealth < 250.0) ACVehInfo[vehicleid][acSpawned] = false;
#if !defined _inc_y_hooks && !defined _INC_y_hooks\
&& defined ac_OnVehicleDeath
return ac_OnVehicleDeath(vehicleid, killerid);
#else
return 1;
#endif
}

#if !defined _inc_y_hooks && !defined _INC_y_hooks
#if defined _ALS_OnVehicleDeath
#undef OnVehicleDeath
#else
#define _ALS_OnVehicleDeath
#endif
#define OnVehicleDeath ac_OnVehicleDeath
#if defined ac_OnVehicleDeath
forward ac_OnVehicleDeath(vehicleid, killerid);
#endif
#endif

#if defined _inc_y_hooks || defined _INC_y_hooks
hook OnPlayerText(playerid, text[])
#else
public OnPlayerText(playerid, text[])
#endif

Reply
#6

up, sorry for x2 post
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)