guten tag ja ich weis das der thrad schon alt ist aber ich bekomme die ganze zeit errors
hier die erorrs
C:\Users\€rwin\Desktop\samp server\gamemodes\xgf3.pwn(7072) : error 017: undefined symbol "Addstaticvehicle"
C:\Users\€rwin\Desktop\samp server\gamemodes\xgf3.pwn(7073) : error 017: undefined symbol "Addstaticvehicle"
C:\Users\€rwin\Desktop\samp server\gamemodes\xgf3.pwn(7074) : error 017: undefined symbol "Addstaticvehicle"
C:\Users\€rwin\Desktop\samp server\gamemodes\xgf3.pwn(7075) : error 017: undefined symbol "Addstaticvehicle"
C:\Users\€rwin\Desktop\samp server\gamemodes\xgf3.pwn(7076) : error 017: undefined symbol "Addstaticvehicle"
C:\Users\€rwin\Desktop\samp server\gamemodes\xgf3.pwn(7077) : error 017: undefined symbol "Addstaticvehicle"
und hier wie ist alles eingefügt habe
public isaCop(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(member==1)
{
return 1;
}
else if(leader==1)
{
return 1;
}
}
return 0;
}
public isaCopcar(carid)
{
for(new i = 0; i < sizeof(Copcars); i++)
{
if(carid == Copcars[i])
{
return 1;
}
}
return 0;
}
forward isaCop(playerid);
forward isaCopcar(carid);
new Copcars[7];
Copcars[1]=Addstaticvehicle(598,-210.3835,995.0920,19.3144,88.6410,1,106);
Copcars[2]=Addstaticvehicle(598,-210.3994,999.4554,19.4030,89.1059,1,106);
Copcars[3]=Addstaticvehicle(598,-210.4453,990.6686,19.2246,91.2787,1,106);
Copcars[4]=Addstaticvehicle(599,-227.8509,991.8335,19.7125,270.5394,1,106);
Copcars[5]=Addstaticvehicle(599,-227.7668,995.7093,19.7497,270.8632,1,106);
Copcars[6]=Addstaticvehicle(599,-227.7349,999.4642,19.7846,270.6127,1,106);
if(isaCopcar(newcar))
{
if(isaCop(playerid)) { }
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY, " Du bist kein Cop");
}
}
MFG Sony