Hallo Liebe User,
ich habe mich mal an ein Script gesetzt und zwar für Tore, als es Fertig war habe ich es hochgeladen und in der Server cfg eingetragen und denn Server gestartet aber als ich dann auf denn Server gegangen bin gingen keine commands und als ich dann aus der Server cfg genommen habe gingen die befehle wieder. Ich hoffe ihr könnt mir helfen.
Hier ist das Script:
#include <a_samp>
#define FILTERSCRIPT
#define Rot 0xFF0000FF
#define White 0xFFFFFFFF
#if defined FILTERSCRIPT
new tor;
forward close();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Filterscript by Scarce");
print("--------------------------------------\n");
tor = CreateObject(969, -2759.39, 80.01, 6.06, 0.00, 0.00, 89.10);
return 1;
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/auf", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,-2759.39, 80.01, 6.06))
{
MoveObject(tor,-2759.39, 80.01, 2.72, 4);
SendClientMessage(playerid,Rot,"Das Tor schließt in 5 Sekunden.");
SetTimer("close", 5000,0);
return 1;
}
else
{
SendClientMessage(playerid,Rot,"Du bist nicht in der Nähe!");
}
}
return 1;
}
public close ()
{
MoveObject(tor,-2759.39, 80.01, 6.06, 4);
return 1;
}
Server Log
Loaded log file: "server_log.txt".
----------
----------------------
v0.3z-R4, (C)2005-2014 SA-MP Team
[17:03:10] Server Plugins
[17:03:10] --------------
[17:03:10] Loading plugin: streamer.so
[17:03:10] Loaded.
[17:03:10] Loading plugin: sscanf.so
[17:03:10]
[17:03:10] Loading plugin: Encrypt.so
[17:03:10]
[17:03:10] ______________________________________
[17:03:10] ______________________________________
[17:03:10] Loading plugin: mysql.so
[17:03:10] SA:MP MySQL Plugin v2.1.1 Loaded.
[17:03:10] Loaded.
[17:03:10] Loading plugin: nativechecker.so
[17:03:10] [MySQL] Thread running. Threadsafe: Yes.
[17:03:10] Loaded.
[17:03:10] Loaded 5 plugins.
[17:03:10] Ban list
[17:03:10] --------
[17:03:10] Loaded: samp.ban
[17:03:10]
[17:03:10]
[17:03:10] Filterscripts
[17:03:10] ---------------
[17:03:10] Loading filterscript 'obs.amx'...
[17:03:10] Server Objecte werden geladen
[17:03:10] *** Streamer_SetFloatData: Invalid ID specified
[17:03:10] 1064 Gemappte Objecte Geladen
[17:03:10] Loading filterscript 'bowling.amx'...
[17:03:10] Error: Function not registered: 'SSCANF_Init'
[17:03:10] Error: Function not registered: 'SSCANF_Join'
[17:03:10] Error: Function not registered: 'SSCANF_Leave'
[17:03:10] Loading filterscript 'tor.amx'...
[17:03:10]
--------------------------------------
[17:03:10] Filterscript by Scarce
[17:03:10] --------------------------------------
[17:03:10] [MySQL] Server Version 5.1.73.
[17:03:10] Lade Gangzonen..
[17:03:10] Zone: 0 | 13 | 1858.178222 | -1347.223266 | 1980.648315 | -1454
[17:03:10] Zone: 1 | 12 | 818.592224 | -1824.480102 | 853.093994 | -2067.4
[17:03:10] Zone: 2 | 13 | 2701.477294 | -2330.616210 | 2810.611572 | -2565
[17:03:10] Zone: 3 | 13 | 2814.517578 | -1897.589843 | 2621.636718 | -2041
[17:03:10] Zone: 4 | 13 | -2096.761230 | -79.822196 | -2202.207763 | -282.
[17:03:10] Zone: 5 | 13 | -2646.468261 | -219.891296 | -2812.783203 | -423
[17:03:10] Zone: 6 | 12 | 1322.207275 | 134.880203 | 1252.236206 | 399.189
[17:03:10] Zone: 7 | 12 | 2189.463623 | 152.510299 | 2514.028808 | -75.999
[17:03:10] Lade H�user..
[17:03:10] H�user geladen!
[17:03:10] Lade Blacklisten..
[17:03:10] Blacklisten geladen!
[17:03:10] Lade Gesch�fte..
[17:03:10] Gesch�fte geladen!
[17:03:10] Lade sGesch�fte..
[17:03:10] sGesch�fte geladen!
[17:03:10] Lade Boxstatisiken..
[17:03:10] Boxstatistiken geladen!
[17:03:10] Lade Fraktionskassen..
[17:03:10] Fraktionskassen geladen!
[17:03:10] Lade Servereinstellungen..
[17:03:10] Servereinstellungen geladen!
[17:03:10] Lade Kofferrauminhalte..
[17:03:11]
[17:03:11] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[17:03:11] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[17:03:11] Scriptversion 1.4
[17:03:11] ________________________________
[17:03:11] | |
[17:03:11] | |
[17:03:11] | HostName: RealGerman Network |
[17:03:11] | Sa-Mp: 0.3z |
[17:03:11] | GameMode: LosSantos |
[17:03:11] | MapName: San Andreas |
[17:03:11] | by: Dennis_Jetlag |
[17:03:11] | Gm: v1.4 |
[17:03:11] |________________________________|
[17:03:11] Number of vehicle models: 70
[17:03:57] Incoming connection: 217.85.121.183:54543
[17:03:58] [join] Scarce has joined the server (0:217.85.121.183)
[17:03:58] Alle Waffen l�schen
[17:04:11] Spieler Scarce wird geladen
[17:04:11] 1
[17:04:11] 2
[17:04:11] 3
[17:04:11] 4
[17:04:11] 5
[17:04:11] 6
[17:04:11] 7
[17:04:11] [MySQL] Error (0): Function: mysql_fetch_field called when no result stored.
[17:04:11] Spieler Scarce geladen
[17:04:29] [chat] [Scarce]: s
Mfg
MaiexHD