Beiträge von Xahaz

    Function OnVehicleSpawn(vehicleid)
    {
    Gas[vehicleid] = GetGasMax(vehicleid);
    for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
    {
    for(new x = 0; x < MaxVeh; x++)
    {
    if(IsPlayerConnected(playerid) && Dtc_PlayerHaveCar[playerid][x])
    {
    if (vehicleid == PlayerCar[playerid][x][CarId])
    {
    SetTimerEx("CarTuning",700,0,"ii",playerid,x);
    }
    }
    }
    }
    for(new car = 0; car < sizeof(PolizeiVehs); car++)
    {
    if(vehicleid == PolizeiVehs[car])
    {
    SetVehicleHealth(vehicleid, 2000.0);
    break;
    }
    }
    for(new car = 0; car < sizeof(ArmyVehs); car++)
    {
    if(vehicleid == ArmyVehs[car])
    {
    SetVehicleHealth(vehicleid, 2500.0);
    break;
    }
    }
    }



    Es gibst keine Add(Static)Vehicle(Ex) für Groove ! Da wir einen Fraktionsautohaus haben werden die in einen extra .cfg gespeichert soll ich dies auch drauf hier :




    .

    Hallo,


    Ich habe einen Problem unszwar wenn ich jetzt zumbeispiel mein auto zerstöre & es Explodiert!
    Spawnt der zu so sagen Doppelt, kann mir jemand helfen was da genau das Problem ist?


    Und das nächste ist das mit denn Groove autos!
    Also wenn ich sie Parke mit /fpark etc wird er erfolgreicht gespawnt!
    Aber nach ner zeit parken die autos schon in der nähe vom GSF aber sie parken alle richtung Osten & manche kreuz und kwer.


    Hoffe jemand kann helfen.. :)


    Mfg,


    Nova

    Wenn ich denn server Starte bekomme ich denn Fehler!


    PHP
    [20:18:22] I couldn't load any gamemode scripts. Please verify your server.cfg
    [20:18:22] It needs a gamemode0 line at the very least.



    Also, ich habe diesen Script von meinem Freund bekommen wegen private Gründe!
    & bei ihm stützt nicht PAWN aber bei mir :S
    Kann mir jemand irgentwie helfen?

    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3e-R2, (C)2005-2012 SA-MP Team


    [03:17:45]
    [03:17:45] Server Plugins
    [03:17:45] --------------
    [03:17:45] Loading plugin: mysql
    [03:17:45]


    > MySQL plugin R6-2 successfully loaded.


    [03:17:45] Loaded.
    [03:17:45] Loading plugin: sscanf
    [03:17:45] Failed.
    [03:17:45] Loading plugin: streamer
    [03:17:45] Failed.
    [03:17:45] Loaded 1 plugins.


    [03:17:45]
    [03:17:45] Ban list
    [03:17:45] --------
    [03:17:45] Loaded: samp.ban
    [03:17:45]
    [03:17:45]
    [03:17:45] Filterscripts
    [03:17:45] ---------------
    [03:17:45] Loading filterscript 'MVD-System.amx'...
    [03:17:45] [junkbuster] Loading JunkBuster...
    [03:17:45]
    [03:17:45] [junkbuster] Speichere/Lade MVD-System Konfiguration:
    [03:17:45] [junkbuster] - WeaponHack = 0
    [03:17:45] [junkbuster] - MoneyHack = 0
    [03:17:45] [junkbuster] - Jetpack = 1
    [03:17:45] [junkbuster] - HealthHack = 1
    [03:17:45] [junkbuster] - ArmourHack = 1
    [03:17:45] [junkbuster] - DriveBy = 0
    [03:17:45] [junkbuster] - Spam = 0
    [03:17:45] [junkbuster] - CommandSpam = 0
    [03:17:45] [junkbuster] - BadWords = 0
    [03:17:45] [junkbuster] - CarJackHack = 0
    [03:17:45] [junkbuster] - TeleportHack = 1
    [03:17:45] [junkbuster] - MaxPing = 1000
    [03:17:45] [junkbuster] - SpectateHack = 0
    [03:17:45] [junkbuster] - Blacklist = 0
    [03:17:45] [junkbuster] - IpBans = 0
    [03:17:45] [junkbuster] - TempBans = 0
    [03:17:45] [junkbuster] - SpawnKill = 0
    [03:17:45] [junkbuster] - CapsLock = 0
    [03:17:45] [junkbuster] - 3DSpeed = 0
    [03:17:45] [junkbuster] - MaxSpeed = 550
    [03:17:45] [junkbuster] - AdminImmunity = 1
    [03:17:45] [junkbuster] - Advertisement = 0
    [03:17:45] [junkbuster] - FreezeUpdate = 0
    [03:17:45] [junkbuster] - SpawnTime = 10
    [03:17:46] [junkbuster] - CheckpointTeleport = 1
    [03:17:46] [junkbuster] - Airbrake = 100
    [03:17:46] [junkbuster] - TankMode = 1
    [03:17:46] [junkbuster] - WarnPlayers = 0
    [03:17:46] [junkbuster] - SingleplayerCheats = 1
    [03:17:46] [junkbuster] - MinFPS = 0
    [03:17:46] [junkbuster] - DisableBadWeapons = 1
    [03:17:46] [junkbuster] - CBug = 0
    [03:17:46] [junkbuster] - AntiBugKill = 1
    [03:17:46] [junkbuster] - NoReload = 0
    [03:17:46] [junkbuster] - NoReloadForSawnOff = 0
    [03:17:46] [junkbuster] - ActiveGMC = 2
    [03:17:46] [junkbuster] - GMCBan = 0
    [03:17:46] [junkbuster] - ServerSideHealth = 1
    [03:17:46] [junkbuster] - CheckVMPos = 0
    [03:17:46] [junkbuster] - QuickTurn = 1
    [03:17:46] [junkbuster] - VehicleTeleport = 1
    [03:17:46] [junkbuster] - Wallride = 170
    [03:17:46] [junkbuster] - DisplayTextDraw = 1
    [03:17:46] [junkbuster] - AFK = 0
    [03:17:46] [junkbuster] - PickupTeleport = 1
    [03:17:46] [junkbuster] - FlyHack = 40
    [03:17:46] [junkbuster] - JunkBusterChrome = 1
    [03:17:46] [junkbuster] - CheckWalkAnims = 0
    [03:17:46] [junkbuster] - ReportMoneyHack = 0
    [03:17:46] [junkbuster] - SpeedhackAdvanced = 20
    [03:17:46] [junkbuster] - Joypad = 2
    [03:17:46] [junkbuster] - ArmedVehicles = 0
    [03:17:46] [junkbuster] - VehicleRepair = 2
    [03:17:46] [junkbuster] - TuningHack = 0
    [03:17:46] [junkbuster] - PayForGuns = 0
    [03:17:46] [junkbuster] - SpawnVehicles = 2
    [03:17:46] [junkbuster] - MaxTotalWarnings = 0
    [03:17:46] [junkbuster] - TooManyWarningsAction = 0
    [03:17:46] [junkbuster] - AirbrakeDetection = 1
    [03:17:46] [junkbuster] - SpeedhackDetection = 1
    [03:17:46]
    [03:17:46] [junkbuster] 0 IP-bans have been loaded.
    [03:17:46] [junkbuster] 0 temporary bans have been loaded.
    [03:17:46] [junkbuster] 0 whitelist entries have been loaded.
    [03:17:46] [junkbuster] 5 blacklist entries have been loaded.
    [03:17:46] [junkbuster] 41 bad words have been loaded.
    [03:17:46] [junkbuster] 4 forbidden weapons have been loaded.
    [03:17:46] [junkbuster] MVD-System wurde Konfiguriert.
    [03:17:46] [junkbuster] JunkBuster (v11) has successfully been loaded.
    [03:17:46] Loaded 1 filterscripts.


    [03:17:46] Script[gamemodes/Haupt-Script.amx]: Run time error 19: "File or function is not found"
    [03:17:46] Number of vehicle models: 0


    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3e-R2, (C)2005-2012 SA-MP Team


    [03:18:43]
    [03:18:43] Server Plugins
    [03:18:43] --------------
    [03:18:43] Loading plugin: mysql
    [03:18:43]


    > MySQL plugin R6-2 successfully loaded.


    [03:18:43] Loaded.
    [03:18:43] Loading plugin: sscanf
    [03:18:43] Failed.
    [03:18:43] Loading plugin: streamer
    [03:18:43] Failed.
    [03:18:43] Loaded 1 plugins.


    [03:18:43]
    [03:18:43] Ban list
    [03:18:43] --------
    [03:18:43] Loaded: samp.ban
    [03:18:43]
    [03:18:43]
    [03:18:43] Filterscripts
    [03:18:43] ---------------
    [03:18:43] Loading filterscript 'MVD-System.amx'...
    [03:18:43] [junkbuster] Loading JunkBuster...
    [03:18:43]
    [03:18:43] [junkbuster] Speichere/Lade MVD-System Konfiguration:
    [03:18:43] [junkbuster] - WeaponHack = 0
    [03:18:43] [junkbuster] - MoneyHack = 0
    [03:18:43] [junkbuster] - Jetpack = 1
    [03:18:43] [junkbuster] - HealthHack = 1
    [03:18:43] [junkbuster] - ArmourHack = 1
    [03:18:43] [junkbuster] - DriveBy = 0
    [03:18:43] [junkbuster] - Spam = 0
    [03:18:43] [junkbuster] - CommandSpam = 0
    [03:18:43] [junkbuster] - BadWords = 0
    [03:18:43] [junkbuster] - CarJackHack = 0
    [03:18:43] [junkbuster] - TeleportHack = 1
    [03:18:43] [junkbuster] - MaxPing = 1000
    [03:18:43] [junkbuster] - SpectateHack = 0
    [03:18:43] [junkbuster] - Blacklist = 0
    [03:18:43] [junkbuster] - IpBans = 0
    [03:18:43] [junkbuster] - TempBans = 0
    [03:18:43] [junkbuster] - SpawnKill = 0
    [03:18:43] [junkbuster] - CapsLock = 0
    [03:18:43] [junkbuster] - 3DSpeed = 0
    [03:18:43] [junkbuster] - MaxSpeed = 550
    [03:18:43] [junkbuster] - AdminImmunity = 1
    [03:18:43] [junkbuster] - Advertisement = 0
    [03:18:43] [junkbuster] - FreezeUpdate = 0
    [03:18:43] [junkbuster] - SpawnTime = 10
    [03:18:43] [junkbuster] - CheckpointTeleport = 1
    [03:18:43] [junkbuster] - Airbrake = 100
    [03:18:43] [junkbuster] - TankMode = 1
    [03:18:43] [junkbuster] - WarnPlayers = 0
    [03:18:43] [junkbuster] - SingleplayerCheats = 1
    [03:18:43] [junkbuster] - MinFPS = 0
    [03:18:43] [junkbuster] - DisableBadWeapons = 1
    [03:18:43] [junkbuster] - CBug = 0
    [03:18:43] [junkbuster] - AntiBugKill = 1
    [03:18:43] [junkbuster] - NoReload = 0
    [03:18:43] [junkbuster] - NoReloadForSawnOff = 0
    [03:18:43] [junkbuster] - ActiveGMC = 2
    [03:18:43] [junkbuster] - GMCBan = 0
    [03:18:43] [junkbuster] - ServerSideHealth = 1
    [03:18:43] [junkbuster] - CheckVMPos = 0
    [03:18:43] [junkbuster] - QuickTurn = 1
    [03:18:43] [junkbuster] - VehicleTeleport = 1
    [03:18:43] [junkbuster] - Wallride = 170
    [03:18:43] [junkbuster] - DisplayTextDraw = 1
    [03:18:43] [junkbuster] - AFK = 0
    [03:18:43] [junkbuster] - PickupTeleport = 1
    [03:18:43] [junkbuster] - FlyHack = 40
    [03:18:43] [junkbuster] - JunkBusterChrome = 1
    [03:18:43] [junkbuster] - CheckWalkAnims = 0
    [03:18:43] [junkbuster] - ReportMoneyHack = 0
    [03:18:43] [junkbuster] - SpeedhackAdvanced = 20
    [03:18:43] [junkbuster] - Joypad = 2
    [03:18:43] [junkbuster] - ArmedVehicles = 0
    [03:18:43] [junkbuster] - VehicleRepair = 2
    [03:18:43] [junkbuster] - TuningHack = 0
    [03:18:43] [junkbuster] - PayForGuns = 0
    [03:18:43] [junkbuster] - SpawnVehicles = 2
    [03:18:43] [junkbuster] - MaxTotalWarnings = 0
    [03:18:43] [junkbuster] - TooManyWarningsAction = 0
    [03:18:43] [junkbuster] - AirbrakeDetection = 1
    [03:18:43] [junkbuster] - SpeedhackDetection = 1
    [03:18:43]
    [03:18:43] [junkbuster] 0 IP-bans have been loaded.
    [03:18:43] [junkbuster] 0 temporary bans have been loaded.
    [03:18:43] [junkbuster] 0 whitelist entries have been loaded.
    [03:18:43] [junkbuster] 5 blacklist entries have been loaded.
    [03:18:43] [junkbuster] 41 bad words have been loaded.
    [03:18:43] [junkbuster] 4 forbidden weapons have been loaded.
    [03:18:43] [junkbuster] MVD-System wurde Konfiguriert.
    [03:18:43] [junkbuster] JunkBuster (v11) has successfully been loaded.
    [03:18:43] Loaded 1 filterscripts.


    [03:18:43] Script[gamemodes/Haupt-Script.amx]: Run time error 19: "File or function is not found"
    [03:18:43] Number of vehicle models: 0

    Das neue soll so aussehen genau so



    Es soll stehen Pure eGaming Reallife & unten drunter Beginne dein 2tes Leben.
    & das soll alles Blau sein.


    Wenn du eine Gegeleitung willst hab ich noch 4.54€ Paysafecard meld dich bitte bei mir

    Versuch mal:


    if(strcmp(cmd,"/fkasse",true) == 0)
    {
    if(PlayerInfo[playerid][pTot] == 1)
    {
    SendClientMessage(playerid, COLOR_GREY, "Tote können keine Befehle nutzen!");
    return 1;
    }
    new fraktion = 0;
    if(PlayerInfo[playerid][pMember] > 0) fraktion = PlayerInfo[playerid][pMember] - 1;
    if(PlayerInfo[playerid][pLeader] > 0) fraktion = PlayerInfo[playerid][pLeader] - 1;
    if(fraktion >= 0)
    {
    tmp = strtok(cmdtext,idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,COLOR_GRAD5," /fkasse [einzahlen/auszahlen] [Betrag]");
    format(string,sizeof(string)," Derzeit sind €%d in der Fraktionskasse!",FraktionsKasse[fraktion]);
    SendClientMessage(playerid,COLOR_GRAD5,string);
    return 1;
    }
    if(strcmp(tmp,"einzahlen",true) == 0)
    {
    tmp = strtok(cmdtext,idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,COLOR_GRAD5," /fkasse einzahlen [Betrag]");
    format(string,sizeof(string)," Derzeit sind €%d in der Fraktionskasse!",FraktionsKasse[fraktion]);
    SendClientMessage(playerid,COLOR_GRAD5,string);
    return 1;
    }
    new amount = strval(tmp);
    if(amount < 0 || amount > 1000000) return SendClientMessage(playerid,COLOR_WHITE," Bitte nur Summen in Höhe von 1 bis 1 Million Dollar!");
    if(GetPlayerMoney(playerid) < amount) return SendClientMessage(playerid,COLOR_WHITE," Du hast nicht soviel Geld um es einzuzahlen!");
    FraktionsKasse[fraktion] += amount;
    GivePlayerMoney(playerid,-amount);
    format(string,sizeof(string)," Du hast €%d in die Fraktionskasse eingezahlt! Total: €%d",amount,FraktionsKasse[fraktion]);
    SendClientMessage(playerid,COLOR_WHITE,string);
    format(string,sizeof(string)," %s hat €%d in die Fraktionskasse eingezahlt! Total: €%d",sendername,amount,FraktionsKasse[fraktion]);
    SendLeaderMSG(fraktion+1,COLOR_LIGHTBLUE,string);
    SaveFraktionsKassen();
    }
    else if(strcmp(tmp,"auszahlen",true) == 0)
    {
    tmp = strtok(cmdtext,idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,COLOR_GRAD5," /fkasse auszahlen [Betrag]");
    format(string,sizeof(string)," Derzeit sind €%d in der Fraktionskasse!",FraktionsKasse[fraktion]);
    SendClientMessage(playerid,COLOR_GRAD5,string);
    return 1;
    }
    new amount = strval(tmp);
    if(PlayerInfo[playerid][pLeader] == 0) return SendClientMessage(playerid,COLOR_WHITE," Nur Leader dürfen Geld aus der Fraktionskasse nehmen!");
    if(amount < 0 || amount > 1000000) return SendClientMessage(playerid,COLOR_WHITE," Bitte nur Summen in Höhe von 1 bis 1 Million Dollar!");
    if((FraktionsKasse[fraktion] - amount) < 0) return SendClientMessage(playerid,COLOR_WHITE," Du kannst keine Schulden machen!");
    FraktionsKasse[fraktion] -= amount;
    GivePlayerMoney(playerid,amount);
    format(string,sizeof(string)," Du hast €%d aus der Fraktionskasse genommen! Total: €%d",amount,FraktionsKasse[fraktion]);
    SendClientMessage(playerid,COLOR_WHITE,string);
    format(string,sizeof(string)," %s hat €%d aus der Fraktionskasse genommen! Total: €%d",sendername,amount,FraktionsKasse[fraktion]);
    SendLeaderMSG(fraktion+1,COLOR_LIGHTBLUE,string);
    SaveFraktionsKassen();
    }
    else
    {
    SendClientMessage(playerid,COLOR_GRAD5," /fkasse [einzahlen/auszahlen] [Betrag]");
    format(string,sizeof(string)," Derzeit sind €%d in der Fraktionskasse!",FraktionsKasse[fraktion]);
    SendClientMessage(playerid,COLOR_GRAD5,string);
    }
    }
    else SendClientMessage(playerid,COLOR_WHITE," Du bist in gar keiner Fraktion!");
    return 1;
    }