Beiträge von Freshmatics

    Function OnPlayerRequestClass(playerid, classid)
    {
    if(IsPlayerNPC(playerid))
    {
    SpawnPlayer(playerid);
    return 1;
    }
    if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
    {
    new str[128];// Ich machs alleine weiter :D
    format(str,sizeof str, "{FFFFFF}Willkommen auf {52D017}Fresh-Test!\n\n{FFFFFF}Dein Name: {48CCCD} %s {FFFFFF}\n\nBitte gib nun dein Passwort ein!", playerid);
    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", str, "Login", "Abbrechen");// die hier.
    }
    else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"{FFFFFF}Account","{FFFFFF}Du benötigst einen Account, um auf {52D017}Fresh Test-Server{FFFFFF} spielen zu können!","Erstellen","Abbrechen");
    }
    PlayerPlaySound(playerid, 1176, 0.0, 0.0, 0.0);
    PlayerInfo[playerid][pModel] = Peds[classid][0];
    SetPlayerTeamFromClass(playerid,classid);
    SetupPlayerForClassSelection(playerid);
    return 1;
    }

    Hey,


    Habe 4 Error im Login system.


    Hier:



    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : error 029: invalid expression, assumed zero
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : error 001: expected token: ";", but found ")"
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : error 029: invalid expression, assumed zero
    C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.



    Hier die Zeilen:


    Function OnPlayerRequestClass(playerid, classid)
    {
    if(IsPlayerNPC(playerid))
    {
    SpawnPlayer(playerid);
    return 1;
    }
    if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
    {
    new str[128];// Ich machs alleine weiter :D
    format(str,sizeof str, "{FFFFFF}Willkommen auf {52D017}Fresh-Test!\n\n{FFFFFF}Dein Name: {48CCCD} %s {FFFFFF}\n\nBitte gib nun dein Passwort ein!", playerid);
    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", str, "Login", "Abbrechen");
    }
    else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"{FFFFFF}Account","{FFFFFF}Du benötigst einen Account, um auf {52D017}Fresh Test-Server{FFFFFF} spielen zu können!","Erstellen","Abbrechen");
    }
    PlayerPlaySound(playerid, 1176, 0.0, 0.0, 0.0);
    PlayerInfo[playerid][pModel] = Peds[classid][0];
    SetPlayerTeamFromClass(playerid,classid);
    SetupPlayerForClassSelection(playerid);
    return 1;
    }

    Hey,


    Mein server Ladet das Script nicht und ich weis nicht wieso


    Include sind alle da Plugins denke ich auch


    Hier mal der server error:


    Run time error 19: "File or function is not found"


    Ich weis nicht wieso und woher das Kommt.
    Könnte mir bei diesen Fehler einer Helfen?


    Gruß Freshmatics

    Läuft noch übern PC.


    hier habe Plugins noch mal neu rein gemacht.



    SA-MP Dedicated Server
    ----------------------
    v0.3d-R2, (C)2005-2011 SA-MP Team


    [16:43:16]
    [16:43:16] Server Plugins
    [16:43:16] --------------
    [16:43:16] Loading plugin: sscanf
    [16:43:16]


    [16:43:16] ===============================


    [16:43:16] sscanf plugin loaded.


    [16:43:16] (c) 2009 Alex "Y_Less" Cole


    [16:43:16] ===============================


    [16:43:16] Loaded.
    [16:43:16] Loading plugin: streamer
    [16:43:16]


    *** Streamer Plugin v2.6 by Incognito loaded ***


    [16:43:16] Loaded.
    [16:43:16] Loading plugin: audio
    [16:43:16]


    *** Audio Plugin v0.4 by Incognito loaded ***



    [16:43:16] Loaded.
    [16:43:16] Loaded 3 plugins.


    [16:43:16]
    [16:43:16] Filterscripts
    [16:43:16] ---------------
    [16:43:16] Loading filterscript 'radio.amx'...
    [16:43:16] Unable to load filterscript 'radio.amx'.
    [16:43:16] Loaded 0 filterscripts.


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

    Hey,



    Habe einen Server error und mein Script ladet er irgend wie nicht


    Hier mal Server.cfg


    echo Executing Server Config...
    lanmode 0
    rcon_password rofl
    maxplayers 10
    port 7777
    hostname .:Gay Server
    gamemode0 Release
    filterscripts radio
    plugins sscanf streamer audio
    announce 1
    query 1
    weburl www.PGS-Reallife..de
    maxnpc 5
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 300.0
    stream_rate 1000


    Server Log:


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


    SA-MP Dedicated Server
    ----------------------
    v0.3d-R2, (C)2005-2011 SA-MP Team


    [16:24:57]
    [16:24:57] Server Plugins
    [16:24:57] --------------
    [16:24:57] Loading plugin: sscanf
    [16:24:57] Failed.
    [16:24:57] Loading plugin: streamer
    [16:24:57] Failed.
    [16:24:57] Loading plugin: audio
    [16:24:57] Failed.
    [16:24:57] Loaded 0 plugins.


    [16:24:57]
    [16:24:57] Filterscripts
    [16:24:57] ---------------
    [16:24:57] Loading filterscript 'radio.amx'...
    [16:24:57] Unable to load filterscript 'radio.amx'.
    [16:24:57] Loaded 0 filterscripts.


    [16:24:57] Script[gamemodes/Release.amx]: Run time error 19: "File or function is not found"
    [16:24:57] Number of vehicle models: 0
    [16:25:09] Incoming connection: 127.0.0.1:62536
    [16:25:09] [join] Freshmatics has joined the server (0:127.0.0.1)

    Hey,


    Wollte heute auf meinen Server Conecten aber irgend was Klappt da nicht mehr und ich weis nicht wieso kann sich das einer per TeamVier anschauen?


    Also ich blick nicht durch.und error kommen auch nicht.


    Hier ein Bild:

    /*TogglePlayerControllable(playerid, 0);
    ResetPlayerWeapons(playerid);
    SetPlayerPos(playerid,1159.8018, -1324.1633, 25.1710);
    SetPlayerCameraPos(playerid, 1214.5242, -1379.3278, 32.4827);
    SetPlayerCameraLookAt(playerid, 1165.6816, -1335.8361, 25.1710);
    SetPlayerVirtualWorld(playerid, 0);
    SetPlayerInterior(playerid, 0);*/
    TogglePlayerControllable(playerid,1);
    ResetPlayerWeapons(playerid);
    SetPlayerPos(playerid,824.4610,-1102.9669,25.7891,271.0959);
    SetPlayerSkin(playerid,162);
    SetPlayerVirtualWorld(playerid,11880);
    SetPlayerInterior(playerid,0);
    //SetPlayerWorldBounds(playerid, 976.4823, 824.3689, -1062.067, -1137.074);
    SetPlayerWorldBounds(playerid, 976.4823, 820.566, -1058.119, -1129.178);
    SetCameraBehindPlayer(playerid);
    timerkrankenhaus = SetTimerEx("RespawnAfterKrankenhaus",3*60*1000,0,"d",playerid);
    return 1;


    das steht unter SetPlayerWorldBounds