Ich hab hier nen kleines Problemchen:
dcmd_popt(playerid,params[]) {
if(!strlen(params)) {
return SendClientMessage(playerid,COLOR_RED,"USAGE: /popt [playerid]");
}
new
pID=strval(params);
if(!IsPlayerConnected(pID)) {
return SendClientMessage(playerid,COLOR_RED,"Kein Spieler mit angegebener ID Online");
}
new PVEH;
PVEH = GetPlayerVehicleId(pID);
new panels, doors, lights, tires;
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, 15);
return 1;
}
Ich bekomme diese Fehler:
Code
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(465) : error 017: undefined symbol "GetPlayerVehicleId"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(467) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(468) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(466) : warning 203: symbol is never used: "tires"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(466) : warning 203: symbol is never used: "lights"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(466) : warning 203: symbol is never used: "doors"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(466) : warning 203: symbol is never used: "panels"
C:\SAMP\SA MP 0.3 ServerA\gamemodes\xxgornxxrevolution6wb12won6test.pwn(465) : warning 204: symbol is assigned a value that is never used: "PVEH"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Alles anzeigen
Was isn hier falsch???