if getElementData ( player, "prem") == 1 then das hier?
Beiträge von Toslatedo
-
-
Ich möchte das so einstellen, dass es für alle User geht
-
Hallo liebe Community,
Ich habe ein Problem, ich habe auf meinen Reallife Server ein Problem mit dem Rise Rl Script gehabt, dass wenn ich mir eine Farbe auf meinem Auto mache sie immer wieder zurückgesettet wird in Michelles Werkstatt.
Deshalb habe ich Michelles Werkstatt aus dem THC Script genommen.
Nun wenn ich reinfahren will, steht da "Nur für Premium-User"Hier die client Datei : http://hastebin.com/fisuhafalo.coffee
Hier die server Datei : http://hastebin.com/enevohakov.coffee -
geht schon
-
Hallo liebe Community habe ein Problem das wenn ich mich in mein Server einloggen will kommt das und die maus kommt nicht
WARNING:rise\register_login\login_window.lua:369: Bad argument @ 'dxDrawImage' [Expected number at argument 9, got gui-staticimage] -
Ähm ich weiß nicht wo ich diese finde^^
Und ich denke, dass es irgendwie mit dem Freeroam script zusammenhängt -
Hallo liebe Community,
Ich habe ein Problem mit meinem Vio-Lite Script manche leute können auf dem Server von mir mit irgendwelchen Befehlen Autos cheaten, Waffen cheaten, Jetpack, usw...
Ich möchte das Problem beheben.
ich hoffe jemand kann mir dabei helfen
Mfg Toslatedo -
Ein anderes Script habe ich leider nicht zur Verfügung.
-
Ich versuche das Script zu erweitern damit es nicht das stinknormale Vio Lite bleibt.
Und dafür brauche ich halt ein Admin-Team. -
Also ich hätte eigentlich gedacht ich finde eine Person mit der ich spaß am Projekt haben könnte Und nicht welche die Geld als Gegenleistung haben wollen.
Mfg Toslatedo -
Ja aber falls ihr interessiert seit dann schreibt falls nicht dann bitte ignoriert diesen Beitrag.
Mfg Toslatedo -
Das würde ich dann euch sagen^^
-
Ich stelle ein Admin Team zusammen
Wer bin ich?:
Name : Mehmet
Alter: 19
Geburtsdatum: 03.04.1995
Hobbys: Fussball spielen, Zocken, Basketball spielenInformationen über das Projekt:
Servername: German Jumpstreet Reallife
Skript: Vio-Lite
Gamemode: Reallife
Serverhoster: Nitrado (Professional Gameserver)Ich suche:
Einen Scripter
Drei Administratoren
Einen Moderator
Zwei SupporterVorraussetzungen:
Du musst mindestens 14 Jahre alt sein.
Du musst geistig reif sein.
Du musst Erfahrung haben.
Du musst Respekt haben.Gegenleistung:
In-Game Rechte
Skripte/Maps:
(Maptechnisch=Rot)
(Skripte=Blau)Bahnhof Deko
Bahnhof Motel
Wang Cars Deko
Fraktionen Basise
Kartbahn
Carmods/Skinmods
HUD/Radar
Strassenmod
Watershader
Carshader
Killcam
Heligrab
Particle_objects
Glue
Globalchat
Fraktionen (Standard + 7 Hinzugefügte)
Erreichbar im Forum und im Server -
-
ERROR:
Spoiler anzeigen
Luaunction carrest_func ( player, cmd, target, time, strafe, bail ) if target ~= nil then local target = getPlayerFromName(target) local x, y, z = getElementPosition ( player ) local tx, ty, tz = getElementPosition ( target ) local strafe = math.abs ( math.floor ( tonumber ( strafe ) ) ) local bail = math.abs ( math.floor ( tonumber ( bail ) ) ) if isOnDuty ( player ) or isArmy(player) then local bool = ( isElementWithinColShape ( player, lvJailArea ) and isElementWithinColShape ( target, lvJailArea ) ) if getDistanceBetweenPoints3D ( -1590, 716, 0, x, y, 0 ) < 6.5 or bool then if getDistanceBetweenPoints3D ( -1590, 716, 0, tx, ty, 0 ) < 6.5 or bool then if vioGetElementData ( target, "wanteds" ) >= 1 then removePedFromVehicle ( target ) if tonumber(strafe) > vioGetElementData ( target, "money" ) then takePlayerMoney ( target, vioGetElementData ( target, "money" ) ) triggerClientEvent ( target, "HudEinblendenMoney", getRootElement() ) vioSetElementData ( target, "money", 0 ) else vioSetElementData ( target, "money", tonumber(vioGetElementData ( target, "money" )) - tonumber(strafe) ) takePlayerMoney ( target, tonumber(strafe) ) triggerClientEvent ( target, "HudEinblendenMoney", getRootElement() ) end vioSetElementData ( target, "jailtime", tonumber(time) ) vioSetElementData ( player, "boni", vioGetElementData ( player, "boni" ) + vioGetElementData ( target, "wanteds" ) * wantedprice ) if bail == nil then bail = 0 end if tonumber(bail) < 1 then vioSetElementData ( target, "bail", 0 ) outputChatBox ( "Du hast den Spieler "..getPlayerName(target).." ohne Kaution fuer "..strafe.." $ und "..time.." Minuten eingesperrt!", player, 0, 125, 0 ) outputChatBox ( "Du wurden von Polizist "..getPlayerName(player).." ohne Kaution fuer "..strafe.." $ und "..time.." Minuten eingesperrt!", target, 0, 125, 0 ) else vioSetElementData ( target, "bail", tonumber(bail) ) outputChatBox ( "Du wurdest von Polizist "..getPlayerName(player).." mit "..bail.." $ Kaution fuer "..strafe.." $ und "..time.." Minuten eingesperrt!", target, 0, 125, 0 ) outputChatBox ( "Du hast den Spieler "..getPlayerName(target).." mit "..bail.." $ Kaution fuer "..strafe.." $ und "..time.." Minuten eingesperrt!", player, 0, 125, 0 ) end if isArmy ( player ) then if isArmy ( player ) and vioGetElementData ( player, "rang" ) >= 0 then tag = "Private" end if isArmy ( player ) and vioGetElementData ( player, "rang" ) >= 1 then tag = "Corporal" end if isArmy ( player ) and vioGetElementData ( player, "rang" ) >= 2 then tag = "Staff Sergeant" end if isArmy ( player ) and vioGetElementData ( player, "rang" ) >= 3 then tag = "Lieutenant" end if isArmy ( player ) and vioGetElementData ( player, "rang" ) >= 4 then tag = "Colonel" end if isArmy ( player ) and vioGetElementData ( player, "rang" ) >= 5 then tag = "General" end end if isFBI ( player ) then if isFBI ( player ) and vioGetElementData ( player, "rang" ) >= 0 then tag = "Auszubildener" end if isFBI ( player ) and vioGetElementData ( player, "rang" ) >= 1 then tag = "Agent" end if isFBI ( player ) and vioGetElementData ( player, "rang" ) >= 2 then tag = "Navy Agent" end if isFBI ( player ) and vioGetElementData ( player, "rang" ) >= 3 then tag = "Special Navy Agent" end if isFBI ( player ) and vioGetElementData ( player, "rang" ) >= 4 then tag = "Einsatzleiter" end if isFBI ( player ) and vioGetElementData ( player, "rang" ) >= 5 then tag = "Commander" end end if isCop ( player ) then if isCop ( player ) and vioGetElementData ( player, "rang" ) >= 0 then tag = "Cadet" end if isCop ( player ) and vioGetElementData ( player, "rang" ) >= 1 then tag = "Officer" end if isCop ( player ) and vioGetElementData ( player, "rang" ) >= 2 then tag = "Sergeant" end if isCop ( player ) and vioGetElementData ( player, "rang" ) >= 3 then tag = "Lieutenant" end if isCop ( player ) and vioGetElementData ( player, "rang" ) >= 4 then tag = "Captain" end if isCop ( player ) and vioGetElementData ( player, "rang" ) >= 5 then tag = "Chief" end end outputChatBox ( ""..tag.." "..getPlayerName(player).." hat "..getPlayerName(target).." eingesperrt!", getRootElement(), 0, 0, 150 ) takeAllWeapons ( target ) vioSetElementData ( target, "wanteds", 0 ) setPlayerWantedLevel ( target, 0 ) setElementData( target , "grab" , 0 ) toggleControl ( target, "fire", false ) if not bool then local rnd = math.floor(math.random ( 1, 4 )) if rnd == 1 then setElementPosition ( target, 215.61360168457, 110.61786651611, 998.66485595703 ) elseif rnd == 2 then setElementPosition ( target, 219.60717773438, 110.39416503906, 998.66485595703 ) elseif rnd == 3 then setElementPosition ( target, 223.60034179688, 110.17053222656, 998.66485595703 ) else setElementPosition ( target, 227.34938049316, 110.19967651367, 998.66485595703 ) end setElementInterior ( target, 10 ) else local x, y, z, r, int = getRandomCellKoordinates ( false ) setElementInterior ( target, int ) setElementPosition ( target, x, y, z ) setPedRotation ( target, r ) end setElementDimension ( target, 0 ) else triggerClientEvent ( player, "infobox_start", getRootElement(), "Der Buerger hat\nkeine Verbrechen\nbegangen!", 5000, 125, 0, 0 ) end else triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\nZiel ist\nbeim Carport!", 7500, 125, 0, 0 ) end else triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\nDu bist nicht\nam Carport!", 7500, 125, 0, 0 ) end else triggerClientEvent ( player, "infobox_start", getRootElement(), "Du bist\nkein Polizist im\nDienst!", 7500, 125, 0, 0 ) end else triggerClientEvent ( player, "infobox_start", getRootElement(), "Gebrauch:\n/carrest [Name]\n[Geldstrafe] [Kaution]", 7500, 125, 0, 0 ) endendaddCommandHandler ( "carrest", carrest_func )
WARNUNG:Spoiler anzeigen
Luafunction suspect_func ( player, cmd, target, r1, r2, r3, r4 ) if player == client or not client then if r1 == nil then triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\nDu hast keinen\nGrund angegeben!", 7500, 125, 0, 0 ) else if copskins[getElementModel ( player )] or fbiSkins[getElementModel ( player )] or isArmy(player) then local target = getPlayerFromName ( target ) if not r2 then r2 = "" end if not r3 then r3 = "" end if not r4 then r4 = "" end local reason = r1..r2..r3..r4 if getElementType ( target ) == "player" and vioGetElementData ( target, "loggedin" ) == 1 then if vioGetElementData ( target, "wanteds" ) <= 5 then vioSetElementData ( target, "wanteds", vioGetElementData ( target, "wanteds" ) + 1 ) setPlayerWantedLevel ( target, vioGetElementData ( target, "wanteds" ) ) end outputChatBox ( "Du hast ein Verbrechen begangen: "..reason..", Gemeldet von: "..getPlayerName(player), target, 255, 255, 0 ) local msg = getPlayerName(player).." hat "..getPlayerName(target).." ein Wanted wegen "..reason.." gegeben!" sendMSGForFaction ( msg, 1, 0, 0, 200 ) sendMSGForFaction ( msg, 6, 0, 0, 200 ) sendMSGForFaction ( msg, 8, 0, 0, 200 ) else triggerClientEvent ( player, "infobox_start", getRootElement(), "\nUngueltiger\nSpieler!", 7500, 125, 0, 0 ) end end end endendaddCommandHandler("suspect", suspect_func)addEvent ("suspect", true )addEventHandler ("suspect", getRootElement(), suspect_func )
-
-
Was für einen Code denn?^^
-
Hallo liebe Community,
Ich habe ein Problem auf meinem Reallife Server undzwar wenn ich jemanden einknasten will kommt dieser Error[gamemodes]/reallife/fraktionen/sfpd/arrest.lua:127: bad argument #1 to 'floor' (number expected, got nil)
und diese Warnungen:
[2014-11-09 11:43:35] WARNING: [gamemodes]/reallife/fraktionen/sfpd/functions.lua:482: Bad argument @ 'getElementType' [Expected element at argument 1, got boolean]
[2014-11-09 11:43:35] WARNING: [gamemodes]/reallife/fraktionen/sfpd/functions.lua:482: Bad argument @ 'getElementType' [Expected element at argument 1, got boolean]Ich bitte um Hilfe! Danke
Mfg Toslatedo -
Hallo liebe Leute,
Ich möchte fragen ob ihr in der Lage seid mir bei dem LA Reallife Skript zu helfen bei mir kommt immer nur ein Blackscreen und da steht[2013-12-27 14:04:47] Some files in 'reallife' use deprecated functions.
[2013-12-27 14:04:47] Use the 'upgrade' command to perform a basic upgrade of resources.
[2013-12-27 14:04:47] ERROR: Bad/missing 'posX' attribute in <object> (line 77)
[2013-12-27 14:04:48] ERROR: [gamemodes]\reallife\mysql\mysql_start.lua:8: attempt to call global 'mysql_connect' (a nil value)
[2013-12-27 14:04:49] ERROR: [gamemodes]\reallife\admin\ticket_server.lua:1: dbConnect failed; Can't connect to MySQL server on 'localhost' (10061)
[2013-12-27 14:04:49] ERROR: reallife\carsys\carhouses\carhouses_mysql.lua:58: attempt to call global 'mysql_query' (a nil value)
[2013-12-27 14:04:49] ERROR: reallife\fraktionen\blacklist_server.lua:74: attempt to call global 'mysql_query' (a nil value)
[2013-12-27 14:04:49] ERROR: reallife\fraktionen\whitelist_server.lua:97: attempt to call global 'mysql_query' (a nil value)
[2013-12-27 14:04:50] ERROR: [gamemodes]\reallife\script.lua:104: attempt to call global 'mysql_query' (a nil value)
[2013-12-27 14:04:50] ERROR: [gamemodes]\reallife\fraktionen\fdepots.lua:24: attempt to call global 'MySQL_GetString' (a nil value)
[2013-12-27 14:04:50] ERROR: reallife\fraktionen\surenos\surenos_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value)
[2013-12-27 14:04:50] ERROR: reallife\fraktionen\camorra\camorra_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value)
[2013-12-27 14:04:50] ERROR: reallife\fraktionen\yakuza\yakuza_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value)
[2013-12-27 14:04:50] ERROR: [gamemodes]\reallife\internet\email_server.lua:3: attempt to call global 'mysql_query' (a nil value)
[2013-12-27 14:04:50] ERROR: [gamemodes]\reallife\handy\scripts\server.lua:270: dbConnect failed; Unknown MySQL server host 'IP' (0)
[2013-12-27 14:04:50] ERROR: [gamemodes]\reallife\handy\scripts\server.lua:274: dbConnect failed; Unknown MySQL server host 'IP2' (0)
[2013-12-27 14:04:50] ERROR: [gamemodes]\reallife\fraktionen\gangareas.lua:82: attempt to call global 'MySQL_GetString' (a nil value)
[2013-12-27 14:04:50] Start up of resource reallife cancelled by script
[2013-12-27 14:04:50] ERROR: Unable to start resource reallife; Start up of resource cancelled by script[2013-12-27 14:04:50] Server started and is ready to accept connections!
[2013-12-27 14:04:50] To stop the server, type 'shutdown' or press Ctrl-C
[2013-12-27 14:04:50] Type 'help' for a list of commands.______________________________________________
Im LA Reallife Ordner gibts einen weiteren Ordner mit dem Namen notusedscripts was soll ich mit dem machen?
LG ToslatedoUnd ein dankeschön an Doneasty