Hi ich habe das problem das ich ein autohaussystem eingebaut habe und nun fehler in einem älteren scriptteil erhalte
hier die fehler und das system
D:\samp\gamemodes\Jan.pwn(1336) : error 017: undefined symbol "GBLoad"
D:\samp\gamemodes\Jan.pwn(1337) : error 017: undefined symbol "BizLoad"
D:\samp\gamemodes\Jan.pwn(1338) : error 017: undefined symbol "GWZLoad"
D:\samp\gamemodes\Jan.pwn(1339) : error 004: function "mintimer" is not implemented
D:\samp\gamemodes\Jan.pwn(1340) : error 017: undefined symbol "FrakLoad"
D:\samp\gamemodes\Jan.pwn(1341) : error 017: undefined symbol "KeysLoad"
D:\samp\gamemodes\Jan.pwn(1342) : error 017: undefined symbol "ClubLoad"
D:\samp\gamemodes\Jan.pwn(1343) : error 017: undefined symbol "HouseLoad"
D:\samp\gamemodes\Jan.pwn(1344) : error 017: undefined symbol "EMailLoad"
D:\samp\gamemodes\Jan.pwn(1345) : error 017: undefined symbol "BlitzerLoad"
D:\samp\gamemodes\Jan.pwn(1346) : error 017: undefined symbol "PlantageLoad"
D:\samp\gamemodes\Jan.pwn(1347) : error 017: undefined symbol "StaufachLoad"
D:\samp\gamemodes\Jan.pwn(1348) : error 017: undefined symbol "KeyCarCreate"
D:\samp\gamemodes\Jan.pwn(1349) : error 017: undefined symbol "SendEMailLoad"
D:\samp\gamemodes\Jan.pwn(1350) : error 017: undefined symbol "KofferraumLoad"
D:\samp\gamemodes\Jan.pwn(1351) : error 017: undefined symbol "VersicherungLoad"
D:\samp\gamemodes\Jan.pwn(1353) : error 017: undefined symbol "PayDaySettings"
D:\samp\gamemodes\Jan.pwn(1356) : error 017: undefined symbol "TextDrawsCreateAll"
D:\samp\gamemodes\Jan.pwn(1523) : error 017: undefined symbol "WaffenPointHinweisSet"
D:\samp\gamemodes\Jan.pwn(3908) : error 017: undefined symbol "KofferraumSave"
D:\samp\gamemodes\Jan.pwn(3909) : error 017: undefined symbol "StaufachSave"
D:\samp\gamemodes\Jan.pwn(3910) : error 017: undefined symbol "KeysSave"
D:\samp\gamemodes\Jan.pwn(3911) : error 017: undefined symbol "ClubSave"
D:\samp\gamemodes\Jan.pwn(3912) : error 017: undefined symbol "BizSave"
D:\samp\gamemodes\Jan.pwn(3913) : error 017: undefined symbol "GWZSave"
D:\samp\gamemodes\Jan.pwn(3914) : error 017: undefined symbol "FrakSave"
D:\samp\gamemodes\Jan.pwn(1337) : error 017: undefined symbol "BizLoad"
D:\samp\gamemodes\Jan.pwn(1338) : error 017: undefined symbol "GWZLoad"
D:\samp\gamemodes\Jan.pwn(1339) : error 004: function "mintimer" is not implemented
D:\samp\gamemodes\Jan.pwn(1340) : error 017: undefined symbol "FrakLoad"
D:\samp\gamemodes\Jan.pwn(1341) : error 017: undefined symbol "KeysLoad"
D:\samp\gamemodes\Jan.pwn(1342) : error 017: undefined symbol "ClubLoad"
D:\samp\gamemodes\Jan.pwn(1343) : error 017: undefined symbol "HouseLoad"
D:\samp\gamemodes\Jan.pwn(1344) : error 017: undefined symbol "EMailLoad"
D:\samp\gamemodes\Jan.pwn(1345) : error 017: undefined symbol "BlitzerLoad"
D:\samp\gamemodes\Jan.pwn(1346) : error 017: undefined symbol "PlantageLoad"
D:\samp\gamemodes\Jan.pwn(1347) : error 017: undefined symbol "StaufachLoad"
D:\samp\gamemodes\Jan.pwn(1348) : error 017: undefined symbol "KeyCarCreate"
D:\samp\gamemodes\Jan.pwn(1349) : error 017: undefined symbol "SendEMailLoad"
D:\samp\gamemodes\Jan.pwn(1350) : error 017: undefined symbol "KofferraumLoad"
D:\samp\gamemodes\Jan.pwn(1351) : error 017: undefined symbol "VersicherungLoad"
D:\samp\gamemodes\Jan.pwn(1353) : error 017: undefined symbol "PayDaySettings"
D:\samp\gamemodes\Jan.pwn(1356) : error 017: undefined symbol "TextDrawsCreateAll"
D:\samp\gamemodes\Jan.pwn(1523) : error 017: undefined symbol "WaffenPointHinweisSet"
D:\samp\gamemodes\Jan.pwn(3908) : error 017: undefined symbol "KofferraumSave"
D:\samp\gamemodes\Jan.pwn(3909) : error 017: undefined symbol "StaufachSave"
D:\samp\gamemodes\Jan.pwn(3910) : error 017: undefined symbol "KeysSave"
D:\samp\gamemodes\Jan.pwn(3911) : error 017: undefined symbol "ClubSave"
D:\samp\gamemodes\Jan.pwn(3912) : error 017: undefined symbol "BizSave"
D:\samp\gamemodes\Jan.pwn(3913) : error 017: undefined symbol "GWZSave"
D:\samp\gamemodes\Jan.pwn(3914) : error 017: undefined symbol "FrakSave"
hier die stelle die den fehler verurschcht also wenn ich sie als kommentar mache treten die fehler oben nicht auf
if(dialogid == DIALOG_BUYCAR)
{
if(response)
{
new vehicleid = GetPlayerVehicleID(playerid);
for(new i;i<MAX_AUTOKAUF;i++)
{
if(vehicleid == kaufauto[i])
{
new key=GetFreeKey();
if(key!=0)
{
if(GetPlayerMoney(playerid)>=Autokauf[i][Preis])
{
if(GetPlayerOwnedKeys(playerid)==MAX_PLAYERKEYS)
{
SendClientMessage(playerid,ROT,"Sie haben die maximale Anzahl an Fahrzeugen erreicht!");
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
else
{
new name[MAX_PLAYER_NAME];
new query[300];//128
format(query,sizeof(query),"INSERT INTO keydata (KKey,KPreis,KVID,KVcolor1,KVcolor2,KVx,KVy,KVz,KVfacing,KVFuel,KFraktion,KKeyOwner) VALUES ('%i','%i','%i','%i','%i','%f','%f','%f','%i','%s','%i','%s')",key,Autokauf[i][Preis],Autokauf[i][modelid],0,0,-1928.7152,274.0965,40.7739,180,GetVehicleMaxSprit(KeyInfo[key][KCar]),0,name);
mysql_query(query);
mysql_free_result();
GetPlayerName(playerid,name,sizeof(name));
strdel(KeyInfo[key][KKeyOwner],0,100);
strins(KeyInfo[key][KKeyOwner],name,0);
strdel(KeyInfo[key][KKey1],0,100);
strins(KeyInfo[key][KKey1],name,0);
strdel(KeyInfo[key][KKey2],0,100);
strdel(KeyInfo[key][KKey3],0,100);
strdel(KeyInfo[key][KKey4],0,100);
strdel(KeyInfo[key][KKey5],0,100);
KeyInfo[key][KVID]=Autokauf[i][modelid];
KeyInfo[key][KPreis]=Autokauf[i][Preis];
KeyInfo[key][KVx]=-1928.7152;
KeyInfo[key][KVy]=274.0965;
KeyInfo[key][KVz]=40.7739;
KeyInfo[key][KVfacing]=180;
KeyInfo[key][KFraktion]=0;
KeyInfo[key][KVcolor1]=0;
KeyInfo[key][KVcolor2]=0;
GivePlayerMoney(playerid,-Autokauf[i][Preis]);
KeyInfo[key][KCar]=CreateVehicle(KeyInfo[key][KVID],KeyInfo[key][KVx],KeyInfo[key][KVy],KeyInfo[key][KVz],KeyInfo[key][KVfacing],KeyInfo[key][KVcolor1],KeyInfo[key][KVcolor2],0);
KeyInfo[key][KVFuel]=GetVehicleMaxSprit(KeyInfo[key][KCar]);
SendClientMessage(playerid,ORANGE,"Fahrzeug Erfolgreich gekauft.");
SendClientMessage(playerid,ORANGE,"Bitte parken sie ihr Fahrzeug mit /park.");
SendClientMessage(playerid,ORANGE,"Weitere Befehle finden sie unter /hilfe.");
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
SetVehicleParamsEx(KeyInfo[key][KCar],VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_ON,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF);
SetPlayerPos(playerid,-1943.2330,276.1430,35.4739);
new pstring[50];
format(pstring,sizeof(pstring),"WoG-%i",key);
SetVehicleNumberPlate(KeyInfo[key][KCar],pstring);
}
else
{
SendClientMessage(playerid,ROT,"Soviel Geld haben sie nicht mit!");
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
}
}
}
else
{
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
}
}
{
if(response)
{
new vehicleid = GetPlayerVehicleID(playerid);
for(new i;i<MAX_AUTOKAUF;i++)
{
if(vehicleid == kaufauto[i])
{
new key=GetFreeKey();
if(key!=0)
{
if(GetPlayerMoney(playerid)>=Autokauf[i][Preis])
{
if(GetPlayerOwnedKeys(playerid)==MAX_PLAYERKEYS)
{
SendClientMessage(playerid,ROT,"Sie haben die maximale Anzahl an Fahrzeugen erreicht!");
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
else
{
new name[MAX_PLAYER_NAME];
new query[300];//128
format(query,sizeof(query),"INSERT INTO keydata (KKey,KPreis,KVID,KVcolor1,KVcolor2,KVx,KVy,KVz,KVfacing,KVFuel,KFraktion,KKeyOwner) VALUES ('%i','%i','%i','%i','%i','%f','%f','%f','%i','%s','%i','%s')",key,Autokauf[i][Preis],Autokauf[i][modelid],0,0,-1928.7152,274.0965,40.7739,180,GetVehicleMaxSprit(KeyInfo[key][KCar]),0,name);
mysql_query(query);
mysql_free_result();
GetPlayerName(playerid,name,sizeof(name));
strdel(KeyInfo[key][KKeyOwner],0,100);
strins(KeyInfo[key][KKeyOwner],name,0);
strdel(KeyInfo[key][KKey1],0,100);
strins(KeyInfo[key][KKey1],name,0);
strdel(KeyInfo[key][KKey2],0,100);
strdel(KeyInfo[key][KKey3],0,100);
strdel(KeyInfo[key][KKey4],0,100);
strdel(KeyInfo[key][KKey5],0,100);
KeyInfo[key][KVID]=Autokauf[i][modelid];
KeyInfo[key][KPreis]=Autokauf[i][Preis];
KeyInfo[key][KVx]=-1928.7152;
KeyInfo[key][KVy]=274.0965;
KeyInfo[key][KVz]=40.7739;
KeyInfo[key][KVfacing]=180;
KeyInfo[key][KFraktion]=0;
KeyInfo[key][KVcolor1]=0;
KeyInfo[key][KVcolor2]=0;
GivePlayerMoney(playerid,-Autokauf[i][Preis]);
KeyInfo[key][KCar]=CreateVehicle(KeyInfo[key][KVID],KeyInfo[key][KVx],KeyInfo[key][KVy],KeyInfo[key][KVz],KeyInfo[key][KVfacing],KeyInfo[key][KVcolor1],KeyInfo[key][KVcolor2],0);
KeyInfo[key][KVFuel]=GetVehicleMaxSprit(KeyInfo[key][KCar]);
SendClientMessage(playerid,ORANGE,"Fahrzeug Erfolgreich gekauft.");
SendClientMessage(playerid,ORANGE,"Bitte parken sie ihr Fahrzeug mit /park.");
SendClientMessage(playerid,ORANGE,"Weitere Befehle finden sie unter /hilfe.");
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
SetVehicleParamsEx(KeyInfo[key][KCar],VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_ON,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF);
SetPlayerPos(playerid,-1943.2330,276.1430,35.4739);
new pstring[50];
format(pstring,sizeof(pstring),"WoG-%i",key);
SetVehicleNumberPlate(KeyInfo[key][KCar],pstring);
}
else
{
SendClientMessage(playerid,ROT,"Soviel Geld haben sie nicht mit!");
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
}
}
}
else
{
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
}
}
}
Achso der befehl ist ne mischung aus dini und mysql