Danke dir!
Beiträge von Kaiserle
-
-
geht das auch für SetPlayerColor?
-
-
Ich möchte das dynamisch machen. Ich lese es aus der Datenbank aus weiß aber grad ned wie ich es Speicher.
-
Guten Mittag,
weiß jemand wie ich den Farbcode (z.B.: 0x007600FF) in einer Variable speichere?
-
sollte so funktionieren
Code
Alles anzeigenif (strcmp("/mv",cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid,5.0,1544.59851, -1626.71655, 12.31279)) { SendClientMessage(playerid,GREEN,"Du hast das Tor geöffnet es schließt in 5 Sekunden"); MoveDynamicObject(sapdtor1,1544.59851, -1626.71655, 12.31279-10,2.0); SetTimer("torsapd1",5000,false); } else if(IsPlayerInRangeOfPoint(playerid,5.0, 1588.95044, -1638.03967, 12.31597)) { SendClientMessage(playerid,GREEN,"Du hast das Tor geöffnet es schließt in 5 Sekunden"); MoveDynamicObject(sapdtor2,1588.95044, -1638.03967, 12.31597-10,2.0); SetTimer("torsapd2",5000,false); } else { SendClientMessage(playerid,ROT,"Du bist nicht in der nähe des Tor´s"); } return 1; } return SendClientMessage(playerid,ROT,"Befehl nicht gefunden."); } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; }
-
-
Jap
Hab den Server neugestartet jetzt startet der server
danke euch!/edit
-
hab ich ja gerade
-
hab ich schon aber funktioniert trotzdem nicht
-
Guten Abend,
Ich habe mir soeben den neuen streamer runtergeladen und auch alles neu compiled, doch nun will der streamer nicht laden.Hier der serverlog:
----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team[21:55:35]
[21:55:35] Server Plugins
[21:55:35] --------------
[21:55:35] Loading plugin: nativechecker.dll
[21:55:35] Loaded.
[21:55:35] Loading plugin: crashdetect.dll
[21:55:35] CrashDetect v4.15.1 is OK.
[21:55:35] Loaded.
[21:55:35] Loading plugin: mysql.dll
[21:55:35]> MySQL plugin R7 successfully loaded.
[21:55:35] Loaded.
[21:55:35] Loading plugin: sscanf.dll
[21:55:35][21:55:35] ===============================
[21:55:35] sscanf plugin loaded.
[21:55:35] (c) 2009 Alex "Y_Less" Cole
[21:55:35] 0.3d-R2 500 Players "dnee"
[21:55:35] ===============================
[21:55:35] Loaded.
[21:55:35] Loading plugin: streamer.dll
[21:55:35] Failed.
[21:55:35] Loading plugin: Encrypt.dll
[21:55:35][21:55:35] ______________________________________
[21:55:35] Encrypt Plugin v0.1 loaded
[21:55:35] ______________________________________[21:55:35] By: Fro (c) Copyright <TBG> 2009-2010
[21:55:35] ______________________________________[21:55:35] Loaded.
[21:55:35] Loaded 5 plugins.[21:55:35]
[21:55:35] Ban list
[21:55:35] --------
[21:55:35] Loaded: samp.ban
[21:55:35]
[21:55:35]
[21:55:35] Filterscripts
[21:55:35] ---------------
[21:55:35] Loading filterscript 'maps.amx'...
[21:55:35] Error: Function not registered: 'CreateDynamicObject'
[21:55:35] [debug] Run time error 19: "File or function is not found"
[21:55:35] [debug] CreateDynamicObject
[21:55:35] Loaded 1 filterscripts.[21:55:35] Error: Function not registered: 'CreateDynamicObject'
[21:55:35] Error: Function not registered: 'DestroyDynamicObject'
[21:55:35] Error: Function not registered: 'mysql_function_query'
[21:55:35] Error: Function not registered: 'cache_get_data'
[21:55:35] Error: Function not registered: 'cache_get_field_content'
[21:55:35] Error: Function not registered: 'mysql_free_result'
[21:55:35] Error: Function not registered: 'mysql_debug'
[21:55:35] Error: Function not registered: 'mysql_connect'
[21:55:35] Error: Function not registered: 'mysql_ping'
[21:55:35] Error: Function not registered: 'CreateDynamicObjectEx'
[21:55:35] Error: Function not registered: 'SetDynamicObjectMaterialText'
[21:55:35] Error: Function not registered: 'SetDynamicObjectMaterial'
[21:55:35] Error: Function not registered: 'CreateDynamic3DTextLabel'
[21:55:35] Error: Function not registered: 'CreateDynamicPickup'
[21:55:35] Error: Function not registered: 'mysql_store_result'
[21:55:35] Error: Function not registered: 'mysql_retrieve_row'
[21:55:35] Error: Function not registered: 'TogglePlayerAllDynamicCPs'
[21:55:35] Error: Function not registered: 'CreateDynamicCP'
[21:55:35] Error: Function not registered: 'TogglePlayerDynamicCP'
[21:55:35] Error: Function not registered: 'mysql_num_rows'
[21:55:35] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[21:55:35] [debug] Run time error 19: "File or function is not found"
[21:55:35] [debug] CreateDynamicObject
[21:55:35] [debug] DestroyDynamicObject
[21:55:35] [debug] CreateDynamicObjectEx
[21:55:35] [debug] SetDynamicObjectMaterialText
[21:55:35] [debug] SetDynamicObjectMaterial
[21:55:35] [debug] CreateDynamic3DTextLabel
[21:55:35] [debug] CreateDynamicPickup
[21:55:35] [debug] TogglePlayerAllDynamicCPs
[21:55:35] [debug] CreateDynamicCP
[21:55:35] [debug] TogglePlayerDynamicCP
[21:55:35] [debug] DestroyDynamic3DTextLabel
[21:55:35] [debug] Run time error 19: "File or function is not found"
[21:55:35] [debug] CreateDynamicObject
[21:55:35] [debug] DestroyDynamicObject
[21:55:35] [debug] CreateDynamicObjectEx
[21:55:35] [debug] SetDynamicObjectMaterialText
[21:55:35] [debug] SetDynamicObjectMaterial
[21:55:35] [debug] CreateDynamic3DTextLabel
[21:55:35] [debug] CreateDynamicPickup
[21:55:35] [debug] TogglePlayerAllDynamicCPs
[21:55:35] [debug] CreateDynamicCP
[21:55:35] [debug] TogglePlayerDynamicCP
[21:55:35] [debug] DestroyDynamic3DTextLabel
[21:55:35] Script[gamemodes/SOM.amx]: Run time error 19: "File or function is not found"
[21:55:35] Number of vehicle models: 0Mein Server liegt auf einen Windows Server2012 R2 .
Danke schon mal im Vorraus
-
Gut bis dann!
Mit freundlichen Grüßen.
Kaiserle -
1-2 Mapper
und eventuell noch 1 Supporter -
-
Es werden noch ein Mapper und ein Supporter gesucht!
Melde dich auf unseren Teamspeak fall du Interesse hast.IP: 5.199.138.62
Mfg.
-
füg das unten ein:Codestock SendAdminMessage(color,const string[]) { for(new i; i<MAX_PLAYERS; i++) { if(pInfo[i][pAdmin] >0 ) SendClientMessage(i,color,string); } return 1; }
und dann mach es so
Code
Alles anzeigenocmd:spawnvehicle(playerid, params[]) { new vID, car, Float:Pos_X, Float:Pos_Y, Float:Pos_Z, Float:Pos_R, string[128], name[MAX_PLAYER_NAME]; if(!IsPlayerAnAdmin(playerid, 5))return 0; if(sscanf(params, "i", vID))return SendClientMessage(playerid, COLOR_ORANGE, "* Tippe: /spawnvehicle [Fahrzeug-ID]"); if(vID < 400 || vID > 611)return SendClientMessage(playerid, COLOR_RED, "** Die Fahrzeug-ID ist ungültig."); GetPlayerPos(playerid, Pos_X, Pos_Y, Pos_Z); GetPlayerFacingAngle(playerid, Pos_R); GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "* Admin %s hat sich ein Fahrzeug (ID: %i) gespawnt.", name, vID); car = AddStaticVehicle(vID, Pos_X, Pos_Y, Pos_Z, Pos_R, 0, 0); PutPlayerInVehicle(playerid, car, 0); SendAdminMessage(color, string); return 1; }
-
Ich will das System so machen, dass der Adminrang immer mit ausgelesen wird (Rang 1: Supporter, Rang 2: Moderator etc...)
Hier:
Code
Alles anzeigenstock Adminrang(playerid) { new tmp[128]; new rID=pInfo[playerid][pAdmin]; switch(rID) { case 0:format(tmp, sizeof(tmp), "Spieler"); case 1:format(tmp, sizeof(tmp), "Supp"); case 2:format(tmp, sizeof(tmp), "Mod"); case 3:format(tmp, sizeof(tmp), "Admin"); case 4:format(tmp, sizeof(tmp), "etc"); default:tmp = "Keine Angabe"; } return tmp; }
-
Wir wollen unseren Server immer weiter verbessern und deswegen wollen wir auch immer wieder neue Maps bringen.
Beispiele dafür sind:- Dm Arenen
- Stuntarenen
- Rennstrecken
- etc.
mfg
-
//Push (29.09)
Es werden immer noch
● 1-2 Mapper
● 1-2 Supporter
gesucht! -
h_owner ist ein integer das ist die ClanID wie oben erwähnt