23.03.2014, 13:03
It comes up with these errors why?
Code in the script:
Код:
C:\Users\Gamer\Desktop\PLA.pwn(17528) : error 025: function heading differs from prototype C:\Users\Gamer\Desktop\PLA.pwn(17530) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17530) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17532) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17533) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17534) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17535) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17536) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17539) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17542) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17543) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17544) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17547) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17548) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17551) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17552) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17553) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17554) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17555) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17556) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17557) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17558) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17559) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17560) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17561) : error 017: undefined symbol "playerid" C:\Users\Gamer\Desktop\PLA.pwn(17562) : error 017: undefined symbol "playerid" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Код:
public OnPlayerDisconnect(playerid, reason) { if(IsLoaded, playerid) IsLoaded[playerid] = 0;//Line 17530 //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);//Line 17562 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"); if(activewep > 0) { new szWeapon[16], szMessage[128]; GetWeaponName(activewep, szWeapon, sizeof(szWeapon)); GivePlayerValidWeapon(playerid, activewep, activeammo); format(szMessage, sizeof(szMessage), "You have unslung the %s from your back.", szWeapon); SendClientMessageEx(playerid, COLOR_WHITE, szMessage); format(szMessage, sizeof(szMessage), "* %s unslings a %s from their back.", GetPlayerNameEx(playerid), szWeapon); ProxDetector(30.0, playerid, szMessage, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); DeletePVar(playerid, "activesling"); }