-
Posts
63 -
Joined
-
Last visited
Everything posted by Mσнαмα∂ Hєℓιѕн
-
che khabar _Ary4n_
-
azizam english i ha dar javabe chiz haye alaki nemigan what migan yes mesle to bi adab nistan ke
-
bayad tu client addEventHandler besazi bad to server side triggerClientEvent use koni!
-
server mizani ? bayad bokhorish
-
i understand Good LuCk!
-
how ? i don't know work with internal database functions you can help me?
-
no! my mysql file is arnika.sql
-
hi guys. this is my mysql connection script : function connectToDatabase(res) MySQLConnection = mysqlconnect(hostname, username, password, database, port) if (not MySQLConnection) then if (res == getThisResource()) then cancelEvent(true, "Cannot connect to the database.") end return nil end return nil end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), connectToDatabase, false) and errors is : attempt to call global 'mysqlconnect' (a nil value) plz debug my database connection script
-
ok, thanks
-
no body can enter Police Vehicles no i dont have any errors!
-
hi guys im maked a playSound script when hit marker but not working! server side function hitMarker (thePlayer) setElementPosition(thePlayer, 288.89401, 169.30408, 1007.17188) setElementInterior(thePlayer, 3) triggerClientEvent("onMarkerHit", markerJoin, markerSound) end addEventHandler("onMarkerHit",markerJoin,hitMarker) client side function markerSound (thePlayer) local sound = playSound("sound.mp3") setSoundVolume(sound, 1) end addEventHandler("onMarkerHit", markerJoin, markerSound) what is this problem ?
-
I want to make only members of the police cops be able to board the policeVehicles!
-
faction member Police can't enter vehicle
-
not working!
-
[HELP] Remove Player From ElementData "faction" Police
Mσнαмα∂ Hєℓιѕн replied to Mσнαмα∂ Hєℓιѕн's topic in Scripting
thanks! -
[HELP] Remove Player From ElementData "faction" Police
Mσнαмα∂ Hєℓιѕн replied to Mσнαмα∂ Hєℓιѕн's topic in Scripting
plz anwser my Vehicle Faction Topic -
hi guys i have a problem for vehicle factions! local policeVehicles = { {597, 1645.125, -1367.453125, 17.443872451782}, {597, 1641.125, -1367.453125, 17.443872451782}, {597, 1637.125, -1367.453125, 17.443872451782}, {597, 1633.125, -1367.453125, 17.443872451782}, {597, 1629.125, -1367.453125, 17.443872451782}, {597, 1625.125, -1367.453125, 17.443872451782}, {447, 1680.181640625, -1418.8740234375, 85.044067382813}, {447, 1680.181640625, -1400.8740234375, 85.044067382813}, {447, 1680.181640625, -1382.8740234375, 85.044067382813}, } local police = "Police" addEventHandler("onResourceStart",resourceRoot,function() for _, v in ipairs(policeVehicles) do local veh = createVehicle(v[1],v[2],v[3],v[4],0,0,v[5]) -- spawn a car setElementData(veh,"carFaction",police) -- set car's faction end end) function vh ( player, seat ) if seat == 0 then -- allow to sit only next to the driver if getElementData(source,"carFaction") == police then -- check car if getElementData(player,"faction") == police then -- check player cancelEvent() outputChatBox ( "#ffff00Shoma Dar Faction F.B.I Nistid!", player,240,155,15,true) end end end end addEventHandler ( "onVehicleStartEnter", getRootElement(), vh ) what is this problem ? all players can enter Police Vehicle @JeViCo
-
[HELP] Remove Player From ElementData "faction" Police
Mσнαмα∂ Hєℓιѕн replied to Mσнαмα∂ Hєℓιѕн's topic in Scripting
ok wait... i give you my script plz debug -
[HELP] Remove Player From ElementData "faction" Police
Mσнαмα∂ Hєℓιѕн replied to Mσнαмα∂ Hєℓιѕн's topic in Scripting
hey @JeViCo ! you can debug my find player script ? ( /find <playerName ) -
[HELP] Remove Player From ElementData "faction" Police
Mσнαмα∂ Hєℓιѕн replied to Mσнαмα∂ Hєℓιѕн's topic in Scripting
thanks you! -
hi guys how to remove player from ElementData "faction" Police ? im searched for script but not found plz give me this function
-
working thanks you bro
-
do you have TeamSpeak3 ? you are right!
-
your script is working but player can't G to vehicle!
-
wtf ?
