Hey Leuet, Ich habe 7 Errors in meinem Script leider weis ich nicht wie man sie fixxt.
Error/s:
D:\Users\Gta\Desktop\GPR Script\pawno\include\M_Bot.inc(163) : error 017: undefined symbol "IsAnAdmin"
D:\Users\Gta\Desktop\GPR Script\pawno\include\M_Bot.inc(770) : error 004: function "GetDistanceBetweenPlayers" is not implemented
D:\Users\Gta\Desktop\GPR Script\pawno\include\M_Bot.inc(791) : error 017: undefined symbol "IsAnAmbulance"
D:\Users\Gta\Desktop\GPR Script\gamemodes\GPR.pwn(3145) : error 029: invalid expression, assumed zero
D:\Users\Gta\Desktop\GPR Script\gamemodes\GPR.pwn(3145) : error 017: undefined symbol "SearchingHit"
D:\Users\Gta\Desktop\GPR Script\gamemodes\GPR.pwn(3145) : error 029: invalid expression, assumed zero
D:\Users\Gta\Desktop\GPR Script\gamemodes\GPR.pwn(3145) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
Zeile/n:
Zeile 163:
#if defined FACTION_CARS_LOCKABLE
Zeile 770
new News2;
Zeile 791
new IsTowTrucker[MAX_PLAYERS];
Zeile 3145
{
In ganz
Function PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z) (Das ist die Zeile 3145)
{
//
Function SearchingHit(playerid)
{
new string[256];
new giveplayer[MAX_PLAYER_NAME];
new searchhit = 0;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(searchhit == 0)
{
if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMember] != 8)
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
searchhit = 1;
hitfound = 1;
hitid = i;
for(new k=0; k<MAX_PLAYERS; k++)
{
if(IsPlayerConnected(k))
{
if(PlayerInfo[k][pMember] == 8 || PlayerInfo[k][pLeader] == 8)
{
SendClientMessage(k, COLOR_WHITE, "|__________________ Hitman Agentur News __________________|");
SendClientMessage(k, COLOR_DBLUE, "*** Eingehende Mitteilung: Ein Auftrag ist verfügbar. ***");
format(string, sizeof(string), "Person: %s ID: %d Bezahlung: $%d", giveplayer, i, PlayerInfo[i][pHeadValue]);
SendClientMessage(k, COLOR_DBLUE, string);
SendClientMessage(k, COLOR_YELLOW, "Benutze /auftraggeben [Hitman ID], um den Auftrag einem Hitman zuzuweisen.");
SendClientMessage(k, COLOR_WHITE, "|________________________________________________________|");
}
}
}
return 0;
}
}
}
}
if(searchhit == 0)
{
SendClientMessage(playerid, COLOR_GREY, " Es sind momentan keine Aufträge verfügbar!");
}
return 0;
}
MfG