Beiträge von XeroX

    /rcon cmdlist - Shows a list with commands.
    /rcon varlist - Shows a list with the current variables.
    /rcon exit - Closes the server.
    /rcon echo [text] - Shows the [text] in the console of the server (NOT the client-console in-game).
    /rcon hostname [name] - change the hostname text (example: /rcon hostname my server).
    /rcon gamemodetext [name] - change the gamemode text (example: /rcon gamemodetext my gamemode).
    /rcon mapname [name] - change the map name text (example: /rcon mapname San Andreas).
    /rcon exec [filename] - Executes the file which contains server cfg (example: /rcon exec blah.cfg).
    /rcon kick [ID] - Kick the player with the given ID (example: /rcon kick 2).
    /rcon ban [ID] - Ban the player with the given ID (example: /rcon ban 2).
    /rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm).
    /rcon gmx - Will load the next gamemode in server.cfg.
    /rcon reloadbans - reloads the samp.ban where the banned IP addresses are stored. This will clear all the IP-addresses.
    /rcon reloadlog - clears the server_log.txt.
    /rcon say - shows a message to the players in the client-console (example: /rcon say blah).
    /rcon players - Shows the players that are in the server (with their name, IP & ping).
    /rcon banip [IP] - Ban the given IP (example: /rcon banip 127.0.0.1).
    /rcon unbanip [IP] - Unban the given IP (example: /rcon unbanip 127.0.0.1).
    /rcon gravity - Changes the gravity (example: /rcon gravity 0.008 ).
    /rcon weather [ID] - Changes the weather (example: /rcon weather 1).
    /rcon loadfs - Loads the given filterscript (example: /rcon loadfs adminfs).
    /rcon weburl [server url] - Changes the server URL in the masterlists/SA-MP client
    /rcon unloadfs - Unload the given filterscript (example: /rcon unloadfs adminfs).
    /rcon reloadfs - Reloads the given filterscript (example: /rcon reloadfs adminfs).
    /rcon rcon_password [PASSWORD] - Change the rcon's password



    So wie es aussieht ist es standart mäßig nicht.

    "/Häuser/Haus[j].ini" ist der Fehler das j wird als string genommen und nicht als den jeweiligen Wert den es von der For-Schleife bekommt.


    Teste es einfach mal mit


    format(string,sizeof(string),"/Häuser/Haus[%d].ini",j);

    Eigen Initiative ist die Lösung zu deinem Problem ! Aber du bist anscheinen nicht in der Lage dafür da du es ja nicht mal für nötig hälst es zu versuchen.


    Guck dir die beiden Links an die ich oben geschrieben habe und guck dir auch die beispiele an und verändere sie dem entsprechend.

    Wie der Fehler besagt hat der Account womit du dich einloggst kein zugriff auf die Datenbank 'information_schema'


    Versuche den Teil davon zu entfernen wenn es nicht geht SQL Datei posten

    Alternativ:


    Code
    stock Beifahrer(playerid)
    {
    	if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return true; // Ist Beifahrer
    	else return false; // Kein Beifahrer
    	return false; // Zur sicherheit false also 0 zurückgeben
    }