
Jack_Miller
Members-
Posts
17 -
Joined
-
Last visited
Jack_Miller's Achievements

Square (6/54)
0
Reputation
-
To do List: -start your server - type /register NAME PASSWORD eg: /register jack_miller lolapassword -- or register in console without the / - shut down your server - go in: MTA\server\mods\deathmatch - open acl.xml - find the admin category - add under: - (just the same just with your (registred) name) - start your server - /login NAME PASSWORD - /debugscript 3 - be happy
-
You mean with an eventHandler?
-
Hi Guys. I don't use ACL on my Server, so everyone can start, restart and stop resources...that sucks.. Yesterday i finished a scipt exactly like the normal /start, /stop and /restart. removeCommandHandler don't work on it. So where is the normal /start function in? I searched in the standard resources but didn't find it...
-
Hi, i have here another problem i dosn't understand... just look at this: player = lp if getPedWeapon ( lp ) == 43 or getElementData ( lp, "isInHighNoon" ) or isPedDead ( lp ) then Info: yes...here are no ends or a: function() It's just because debugscript say's me following: attempt to call global 'isPedDead' (a nil value) what i have to do that isPedDead works?^^
-
BinSlayer1, IT WORKS, HOLY F****** SHIT this fuck resource crashed my script....ohr yeah, nice... thanks to all who (tried) to help me
-
Why nobody can helps me with such a simple script? @BinSlayer1 you tested it right? but now there are other locations where the player will be teleport to...the coordinates are random choosed...what is the problem?^^ there must be a solution... Again: - Markers will be created (script will be loaded...) - Player will be teleported - Nope - gives a Chat output - Nope - debugscript show a error or warning or shice like that? - Nope... So the fail must be inside the function, right? Its not a scripting failure, because debugscript accept it... Maybe we should think about the: if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then
-
Jap, the end is on line 36 the script itself will be loaded....i see the marker's ingame... Äähm...here, i add a chat output...but no debugscript error or a output, just nothing... function turmrauf ( player ) if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then setElementPosition ( player, 1140.5888671875, 780.9228515625, 30.747257232666 ) outputChatBox ( "lolol", player, 125, 0, 0 ) end end addEventHandler ( "onMarkerHit", MillerTurmRauf, turmrauf ) function turmrunter ( player ) if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then setElementPosition ( player, 195.0408935547, 765.76519775391, 8.4228067398071 ) outputChatBox ( "upupup", player, 125, 0, 0 ) end end addEventHandler ( "onMarkerHit", MillerTurmRunter, turmrunter )
-
The Debugger shows no error or something...just nothing... heres the code of the lua again: MillerTurmRauf = createMarker ( -1145.0408935547, 714.76519775391, 3.4228067398071, "cylinder", 1, 255, 0, 0 ) MillerTurmRunter = createMarker ( -1137.5888671875, 713.9228515625, 46.747257232666, "cylinder", 1, 255, 0, 0 ) --[[function turmrauf (player, dim) if getElementType ( player ) == "player" then setElementInterior ( player, 1, -1138.5888671875, 713.9228515625, 46.747257232666 ) end end addEventHandler ("onMarkerHit", MillerTurmRauf, turmrauf) function turmrunter (player, dim) if getElementType ( player ) == "player" then setElementInterior ( player, 1, -1146.0408935547, 714.76519775391, 3.0 ) end end addEventHandler ("onMarkerHit", MillerTurmRunter, turmrunter) function turmrauf ( player, dim ) if dim == true and getPedOccupiedVehicle ( player ) == false then setElementPosition ( player, 894.5888671875, 71.9228515625, 25.747257232666 ) end end addEventHandler ( "onMarkerHit", MillerTurmRauf, turmrauf ) function turmrunter ( player, dim ) if dim == true and getPedOccupiedVehicle ( player ) == false then setElementPosition ( player, 516.0408935547, 780.76519775391, 15.4228067398071 ) end end addEventHandler ( "onMarkerHit", MillerTurmRunter, turmrunter )]] function turmrauf ( player ) if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then setElementPosition ( player, 1140.5888671875, 780.9228515625, 30.747257232666 ) end end addEventHandler ( "onMarkerHit", MillerTurmRauf, turmrauf ) function turmrunter ( player ) if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then setElementPosition ( player, 195.0408935547, 765.76519775391, 8.4228067398071 ) end end addEventHandler ( "onMarkerHit", MillerTurmRunter, turmrunter ) Remember: the first function won't be readed....its just my other version of the script...but it don't work, too... heres the meta.xml: <meta> <info type="map" version="1.0.0" /> <map src="Miller_Island.map" dimension="0" /> <settings> <setting name="#minplayers" value="[ 0 ]" /> <setting name="#maxplayers" value="[ 128 ]" /> <setting name="#gravity" value="[ 0.008000 ]" /> <setting name="#weather" value="[ 0 ]" /> <setting name="#time" value="10:0" /> <setting name="#locked_time" value="[ false ]" /> <setting name="#waveheight" value="[ 0 ]" /> <setting name="#gamespeed" value="[ 1 ]" /> </settings> <script src="MillerTore.lua" type="server" /> <script src="TurmPort.lua" /> </meta>
-
its on my local server...there are no login or a account system...thats the problem^^
-
Here... When i try to exec it ingame...it dosn't work...acl shit...im in the acl groups, but it dont accept me ingame... <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="resource.admin" /> <object name="resource.webadmin" /> <object name="user.[GGR]Jack_Miller" /> </group> <group name="Console"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="user.Console" /> <object name="user.[GGR]Jack_Miller" />
-
It don't work: when i type debugscript 3 in the console: Incorrect client type for this command Info; all tested on ma local server
-
but it dosn't work anyway
-
the createMarker is in my codeline above...in my first post... and the meta.xml... heres my line to the script_:
-
It dont work anyway function turmrauf ( player ) if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then setElementPosition ( player, 1140.5888671875, 780.9228515625, 30.747257232666 ) end end addEventHandler ( "onMarkerHit", MillerTurmRauf, turmrauf ) function turmrunter ( player ) if (getElementType(player) == "player") and (isPedInVehicle(player) == false) then setElementPosition ( player, 195.0408935547, 765.76519775391, 8.4228067398071 ) end end addEventHandler ( "onMarkerHit", MillerTurmRunter, turmrunter ) the positions are random now...
-
But it don't work...i've changed it but...