Liebe Community,
Da ich meine Fraktcars von einem Freund hab machen lassen steig ich da nicht so wirklich durch und möchte sie selber machen.
Allerdings erhalte ich wenn ich diesen text entferne
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(grovecar); i++)
{
if(GetPlayerVehicleID(playerid)==grovecar[i])
{
if(GetPVarInt(playerid,"Fraktion")!=6)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du darfst dieses Fahrzeug nicht fahren.");
}
}
}
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(ballascar); i++)
{
if(GetPlayerVehicleID(playerid)==ballascar[i])
{
if(GetPVarInt(playerid,"Fraktion")!=7)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du darfst dieses Fahrzeug nicht fahren.");
}
}
}
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(rentcar); i++)
{
if(GetPVarInt(playerid,"Mieten") == 0)
{
if(GetPlayerVehicleID(playerid)==rentcar[i])
{
TogglePlayerControllable(playerid, 0);
SendClientMessage(playerid,grün,"Dieses Auto ist vermietbar willst du dieses Auto mieten dann benutze /mieten (1.000$).");
SendClientMessage(playerid,ROT,"Wenn nicht dan benutze /exitcar");
}
}
else
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(hotelcar); i++)
{
if(GetPVarInt(playerid,"Hotel") == 0)
{
if(GetPlayerVehicleID(playerid)==hotelcar[i])
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du hast keine Wohung im Hotel");
}
}
else
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(armycar); i++)
{
if(!isPlayerInFrakt(playerid,3))
{
if(GetPlayerVehicleID(playerid)==armycar[i])
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Nicht Berechtigt");
}
}
}
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(sfpdcar); i++)
{
if(!isPlayerInFrakt(playerid,1))
{
if(GetPlayerVehicleID(playerid)==sfpdcar[i])
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Nicht Berechtigt");
}
}
}
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(mediccar); i++)
{
if(!isPlayerInFrakt(playerid,2))
{
if(GetPlayerVehicleID(playerid)==mediccar[i])
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Nicht Berechtigt");
}
}
}
}
return 1;
}
Folgende errors:
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(343) : error 004: function "LoadBizz" is not implemented
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(935) : error 004: function "SaveBizz" is not implemented
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(983) : error 017: undefined symbol "SpielerSpeichern"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(996) : error 017: undefined symbol "SpielerName"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1067) : error 017: undefined symbol "BizSystem_IsNumeric"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1083) : error 017: undefined symbol "BizSystem_IsNumeric"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1097) : error 017: undefined symbol "BizSystem_IsNumeric"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1113) : error 017: undefined symbol "BizSystem_IsNumeric"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1124) : error 004: function "SaveBizz" is not implemented
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1131) : error 017: undefined symbol "SpielerName"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1138 ) : error 017: undefined symbol "isPlayerAnAdmin"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1141) : error 017: undefined symbol "sscanf"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1154) : error 017: undefined symbol "isPlayerInFrakt"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1160) : error 017: undefined symbol "sscanf"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1162) : error 017: undefined symbol "SpielerName"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1164) : error 017: undefined symbol "SpielerName"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1167) : error 017: undefined symbol "isPlayerInFrakt"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1172) : error 017: undefined symbol "SpielerSpeichern"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1173) : error 017: undefined symbol "SpielerSpeichern"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1180) : error 017: undefined symbol "isPlayerInFrakt"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1183) : error 017: undefined symbol "sscanf"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1184) : error 017: undefined symbol "SpielerName"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1186) : error 017: undefined symbol "SpielerName"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1189) : error 017: undefined symbol "SpielerSpeichern"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1190) : error 017: undefined symbol "SpielerSpeichern"
C:\Program Files (x86)\Rockstar Games\gamemodes\SteakScriptV2.pwn(1200) : error 017: undefined symbol "isPlayerAnAdmin"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Ich würde mich über schnelle hilfe sehr freuen.
Vielen Dank im vorraus
Mfg
Darksteak