04.11.2018, 14:47
Hi,
I'm getting these errors
Here is the piece of code in question
I've tried so many things, but cannot wrap my head around it, hopefully someone can help, I will +rep you.
I'm getting these errors
Code:
C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17549) : error 025: function heading differs from prototype C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17551) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17551) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17553) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17554) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17555) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17556) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17557) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17560) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17563) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17564) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17565) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17568) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17569) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17572) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17573) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17574) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17575) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17576) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17577) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17578) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17579) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17580) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17581) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17582) : error 017: undefined symbol "playerid" C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17583) : error 017: undefined symbol "playerid"
Code:
public OnPlayerDisconnect(playerid, reason) { if(IsLoaded[playerid]) IsLoaded[playerid] = 0; //Speedos PlayerTextDrawDestroy(playerid,SpeedoText0); PlayerTextDrawDestroy(playerid,SpeedoText1); PlayerTextDrawDestroy(playerid,SpeedoText2); PlayerTextDrawDestroy(playerid,SpeedoText3); PlayerTextDrawDestroy(playerid,SpeedoText4); //Samsung Galaxy PlayerTextDrawDestroy(playerid,CalculatorTD2); //Random News PlayerTextDrawDestroy(playerid, ServerTips); PlayerTextDrawDestroy(playerid, MessagesTD); PlayerTextDrawDestroy(playerid, ServerBanner); //Radar PlayerTextDrawDestroy(playerid,RadarHud); PlayerTextDrawDestroy(playerid,SpeedAndModel); //Baitcar PlayerTextDrawDestroy(playerid, Textdraw0); PlayerTextDrawDestroy(playerid, Textdraw1); PlayerTextDrawDestroy(playerid, Textdraw2); PlayerTextDrawDestroy(playerid, Textdraw3); PlayerTextDrawDestroy(playerid, Textdraw4); PlayerTextDrawDestroy(playerid, Textdraw5); PlayerTextDrawDestroy(playerid, Textdraw6); PlayerTextDrawDestroy(playerid, Textdraw7); PlayerTextDrawDestroy(playerid, Textdraw8); PlayerTextDrawDestroy(playerid, Textdraw9); PlayerTextDrawDestroy(playerid, Textdraw10); PlayerTextDrawDestroy(playerid, Textdraw11); PlayerTextDrawDestroy(playerid, Textdraw12); BaitMonitor[playerid] = 0; Pursuit[playerid] = 0; DestroyDynamic3DTextLabel(PlayerInfo[playerid][aMeID]); PlayerInfo[playerid][aMeStatus] =0; new activewep, activeammo; activewep = GetPVarInt(playerid, "activesling"); activeammo = GetPVarInt(playerid, "activeslingammo");