-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
You have two choices: 1- rename one of the resource. 2- delete the resource and let one.
-
What is the thing you're not understand in the error?
-
So ? Hey kill yourself better -_-"
-
"Farmer" type="gamemode" name="Farmjob" description="Farmstuff" />
-
1- you mean this? isPedOnFire 2- use trigger
-
This is just a simple code that doesn't have any error it's just will out put 'HIT!' for everyone whenever any player attacks other player with nightstick.
-
1- createMarker getPlayerTeam getTeamName onClientMarkerHit 2- getPlayerTeam getTeamName getPlayerWantedLevel setElementPosition givePlayerMoney onPlayerDamage
-
"editor_main,BaseMode"> "Team2 (1)" interior="5" posX="1267.0999755859" posY="-785.79998779297" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (2)" interior="5" posX="1266.4000244141" posY="-786.90002441406" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (3)" interior="5" posX="1265.4000244141" posY="-785.90002441406" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (4)" interior="5" posX="1264.4000244141" posY="-786.5" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (5)" interior="5" posX="1263.3000488281" posY="-786.20001220703" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (6)" interior="5" posX="1262.3000488281" posY="-786.09997558594" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (7)" interior="5" posX="1261.1999511719" posY="-786.29998779297" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (8)" interior="5" posX="1267" posY="-783.70001220703" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (9)" interior="5" posX="1265.6999511719" posY="-783.70001220703" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "Team2 (10)" interior="5" posX="1264" posY="-783.90002441406" posZ="1091.9000244141" rotX="0" rotY="0" rotZ="0"> "puerta" doublesided="false" model="2928" interior="5" dimension="0" posX="1282.3000488281" posY="-783.70001220703" posZ="1090.1999511719" rotX="0" rotY="0" rotZ="0"> "Team1 (1)" interior="5" posX="1231.9000244141" posY="-771.79998779297" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Central_Marker (1)" interior="5" posX="1235.5999755859" posY="-765.09997558594" posZ="1083" rotX="0" rotY="0" rotZ="0"> "Team1 (2)" interior="5" posX="1232.9000244141" posY="-767" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (3)" interior="5" posX="1229.8000488281" posY="-766.40002441406" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (4)" interior="5" posX="1231" posY="-765.90002441406" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (5)" interior="5" posX="1233.5" posY="-763.09997558594" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (6)" interior="5" posX="1230.5999755859" posY="-762.40002441406" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (7)" interior="5" posX="1236.1999511719" posY="-761.29998779297" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (8)" interior="5" posX="1234.3000488281" posY="-761.5" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (9)" interior="5" posX="1230.6999511719" posY="-768.29998779297" posZ="1084" rotX="0" rotY="0" rotZ="0"> "Team1 (10)" interior="5" posX="1232.3000488281" posY="-761.79998779297" posZ="1084" rotX="0" rotY="0" rotZ="0"> "puerta2" doublesided="false" model="2928" interior="5" dimension="0" posX="1247.4000244141" posY="-778.79998779297" posZ="1084.3000488281" rotX="0" rotY="0" rotZ="90"> "Central_Marker (2)" interior="5" posX="1268.8000488281" posY="-775" posZ="1090.9000244141" rotX="0" rotY="0" rotZ="0"> and make sure you have put interior 5 in meta
-
We can't help you if you didn't post the code also this make no sense for _,gui in ipairs(getElementsByType("gui-window")) do if guiGetVisible(gui) == true then else also you can use this to move the gui to very back of all other GUI https://wiki.multitheftauto.com/wiki/GuiMoveToBack
-
All elements listed here https://wiki.multitheftauto.com/wiki/Element
-
same email just change number 1 to 2
-
for _,gui in ipairs(getElementsByType("gui-window")) do if guiGetVisible(gui) then .. end end
-
https://wiki.multitheftauto.com/wiki/GuiGetVisible
-
t = createMarker(0, 0, 0) addEventHandler("onMarkerHit", t, function(player) if getTeamName(getPlayerTeam(player)) == "Police" then local ammo = getPedTotalAmmo(player) if ammo < 50 then local weapon = getPedWeapon(player) giveWeaponAmmo(player,weapon,50) outputChatBox("You have given 50 ammo",player,255,255,0) else outputChatBox("You can't, have more than 50 ammo!",player,255,0,0) end else outputChatBox("You Are Not Police!",player,255,0,0) end end)
-
تقصد كذا؟ t = createMarker(0, 0, 0) addEventHandler("onMarkerHit", t, function(player) addEventHandler("onPickupHit", root, onPickupHitFunc) end) function onPickupHitFunc ( thePlayer ) -- when a pickup is hit if getPickupType ( source ) == 2 then -- check if it's a weapon pickup local ammo = getPickupAmmo ( source ) -- get the pickup ammo if ammo < 50 then -- if ammo is less than 50 local weapon = getPickupWeapon ( source ) -- store pickup weapon giveWeaponAmmo ( thePlayer, weapon, 50 ) -- give an extra 50 ammo end end end أو كذا؟ t = createMarker(0, 0, 0) addEventHandler("onMarkerHit", t, function(player) local ammo = getPedTotalAmmo(player) if ammo < 50 then local weapon = getPedWeapon(player) giveWeaponAmmo(player,weapon,50) end end)
-
تراه رسلته لهولستن
-
EUR 119.00 لول بس تراه أرخص من اللوحات الثانية ذا تدفع بس مره وحده أما الباقين أغلبهم شهرياً و إذا تبي مره وحده غالي و غالبيتهم ما يدعمون أم تي أي و لوحة ديلوكس معروفه
-
Login / register wont work on my server . Help please
TAPL replied to twitch97's topic in Hosting solutions
if you can't register it's often admin resource aren't running open mtaserver.conf and add this at the end of the file <resource src="admin" startup="1" protected="0"/> -
XAMPP is what you use to store all the information from your server like accounts, vehicles ect.., If you dont have this then you wont be able to register an account on your server or log into it. Wrong, i don't have XXAMP and accounts is saved at internal.db and vehicles saved at RAM and i can register account and log in Also XXAMP is web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.
-
your code seems a mess i means this function destroy10 ( player ) removeEventHandler( "onMarkerHit", Marker10, destroy10 ) destroyElement( Marker10 ) checkVehicle ( player ) Marker2 = createMarker ( 1728.5, -6244.6000976563, 149.30000610352, "cylinder", 2.5, 150, 10, 10, 125 ) addEventHandler( "onMarkerHit", Marker2, destroy2 ) end where is Marker10 and function destroy2 ?! also for function checkVehicle you should use elseif -_-"
-
إذا كنت تبي لوحة أستضافة ديلوكس تقدر تشتريها http://www.delux-software.com
