-
Posts
732 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Bean666
-
UPDATE: Fixed showcursor to showCursor in line 18.
-
sorry i uploaded the resoruce with the showcursor thingy ill make an update ASAP with the bug fixed. thank u for reminding me.
-
??? Line 140 is the function Line 168 is the last function Nemesisbymanawydan6 ( thePlayer) local AclNome6 = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..AclNome6, aclGetGroup ( "Admin" ) ) then nemesi6 = exports [ "slothBot" ]:spawnBot ( 2598.2099609375, 1807.3173828125, 11.398876190186, 90, math.random ( 300, 303 ), 0, 0, Nemesis6, 0, "hunting", true ) setElementModel ( nemesi6, 162 ) outputChatBox ("ProjectZ has been spawned! Location: Pilgrim! One of the strongest Boss!",getRootElement(), 255, 0, 0, true ) BlipNemesis6 = createBlipAttachedTo ( nemesi6, 23 ) attachElements ( baz, nemesi6, 0.2, 0.1, 0.5, 0, 90, 0 ) setElementData(nemesi6, "nemesis6",true) triggerClientEvent(thePlayer, "nsound2", getRootElement()) if nemesi6 then exports.extra_health:setElementExtraHealth ( nemesi6, 10000 ) end end end addCommandHandler("boss6", Nemesisbymanawydan6) addEvent("onBotWasted",true) addEventHandler("onBotWasted",getRootElement(), function (killer) if (source == nemesi6) then givePlayerMoney(killer,1000000) outputChatBox ( getPlayerName ( killer ) .. " #ff0000killed Project Z and gained 1000000$",getRootElement(), 0, 255, 0, true ) exports.exp_system:addPlayerEXP ( killer, 600 ) destroyElement(BlipNemesis6) end end)
-
By the way when i execute the command . the sound doesnt play for all players.
-
unexpected symbol near ')' in line 31 , and is end) addEventHandler("onClientPedDamage",root, function(ata,wea,bod,los) if (ata and getElementType(ata) == "player") then if (getElementData(source,"nemesis") == true) then if (los >=5) then los = los-los+1 end end end)
-
maybe a false error idk....
-
it says client lua:29
-
still doesnt work , i have 3 errors here u go :
-
Here's my meta xml i changed setvolume to 1 and stil ldoesnt work <meta> <info author="Boss" description="nemesis" type="script" version="2.2" /> <script src="nemesi1.lua" type="server" /> <script src="client.lua" type="client" /> <script src="data/nemesis.mp3" type="client" /> <file src="sons/music.mp3" /> <script src="data/107.txd" type="client" /> <script src="data/107.dff" type="client" /> <include resource="extra_health" /> <include resource="slothbot" /> </meta>
-
still doesnt work it doesnt play sound
-
nono . its allowed thats why its in the community i was just curious. by the way ur problem.i see no problems... but try re-writing the function of the shotgun both in client / server.lua or try to rename the giveweaponshotgun to giveweaponshot or in any different names in client and server.lua or if there is an error in /debugscript 3 just tell me
-
is it from my server or community?
-
is this my server weaponshop or my weaponshop that i released??
-
hi guys i need help. i added an event in the client that plays sound . and in server when zombie boss spawns , it triggers the clientevent so it will play the sound . is there any problem with this? sounds doesnt play... client: addEvent("nsound2",true) addEventHandler("nsound2", getRootElement(), function () sound = playSound("sons/music.mp3", false) setSoundVolume(sound, 3.2) end ) server: function Nemesisbymanawydan6 ( thePlayer) local AclNome6 = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..AclNome6, aclGetGroup ( "Admin" ) ) then nemesi6 = exports [ "slothBot" ]:spawnBot ( 2598.2099609375, 1807.3173828125, 11.398876190186, 90, math.random ( 300, 303 ), 0, 0, Nemesis6, 0, "hunting", true ) setElementModel ( nemesi6, 162 ) outputChatBox ("ProjectZ has been spawned! Location: Pilgrim! One of the strongest Boss!",getRootElement(), 255, 0, 0, true ) BlipNemesis6 = createBlipAttachedTo ( nemesi6, 23 ) attachElements ( baz, nemesi6, 0.2, 0.1, 0.5, 0, 90, 0 ) setElementData(nemesi6, "nemesis6",true) triggerClientEvent(source, "nsound2", source) if nemesi6 then exports.extra_health:setElementExtraHealth ( nemesi6, 10000 ) end end end addCommandHandler("boss6", Nemesisbymanawydan6)
-
this functions might help you. getPlayerTeam getTeamName
-
ty all
-
Wow! awesome!
-
thank you xeon and lacosta . ))
-
Hi, i made a teleport system for you guys and it is useful for RPG / RP Servers. Resource Link: https://community.multitheftauto.com/ind ... s&id=10893 Default Marker Locations are in: LS Airport LV Airport LSPD LS Saints Hospital SF Train Station it also Leaves a message when teleported to a location How does it wprk? When You Step in a marker it shows you a DX GUI with DX Buttons with Location names How to add/edit/delete markers? you can see markers in client.lua How to add locations? you can add locations in client.lua How to know where are the markers? don't worry there are blips in the map. Note: Those to people don't know how to script, You need to know how to script to add locations / markers or just contact me i can help you by just pming me in forum. --This is not compiled, feel free to edit, but please do not remove credits-- Screenshots:
-
your code still doesnt work wassim