^Dev-PoinT^
Members-
Posts
313 -
Joined
-
Last visited
Everything posted by ^Dev-PoinT^
-
i think you can with this you have to Use This https://wiki.multitheftauto.com/wiki/Gui ... taticImage and the x , y ,z with the radar postion
-
what about this ? function beepClient(thePlayer) if isVehicleLocked(source) then local x, y, z = getElementPosition(thePlayer) local beep = playSound("sound/Alarm.mp3", x, y, z, false) setSoundVolume(beep, 2.0) setSoundMaxDistance(beep, 100) stopSound( beep ) setTimer ( stopSound, 10000, 1 ) end end addEventHandler("onClientVehicleStartEnter", getRootElement(), beepClient)
-
Hi it dosnt Play The Sound function beepClient(thePlayer) local playervehicle = getPedOccupiedVehicle(thePlayer) if isVehicleLocked(playervehicle) then local x, y, z = getElementPosition(thePlayer) local beep = playSound("sound/Alarm.mp3", x, y, z, false) setSoundVolume(beep, 2.0) setSoundMaxDistance(beep, 100) end end addEventHandler("onClientVehicleStartEnter", getRootElement(), beepClient)
-
i fixed it with this its Nice to fix things By Yourself thx You all for help me function res ( ) outputChatBox ( "Respawn after 5 seconds...", source, 255, 255, 0, true ) setTimer ( spawnPlayer, 5000, 1, source, x, y, z, 0, getElementModel(source) ) end addEventHandler ( "onPlayerWasted", getRootElement( ), res )
-
it send me underground? Like bug
-
Benxamix2 he i have select skin 46 but when i die he set My skin to 0 how to Make it = getPlayerSkin that he select
-
Like Thx? serverSide --- function res ( ) local x, y, z = getElementPosition ( source ) outputChatBox ( "Respawn after 5 seconds...", source, 255, 255, 0, true ) setTimer ( spawnPlayer, 5000, 1, source, x, y, z, 0, math.random ( 0,200 ) ) end addEventHandler ( "onPlayerWasted", getRootElement( ), res ) clientSide ----- function res ( ) setGameSpeed ( 0.4 ) end addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), res ) function res ( ) setGameSpeed ( 1 ) end addEventHandler( "onClientPlayerSpawn", getLocalPlayer( ), res )
-
Hi i made this function res () local x, y, z = getElementPosition(source) outputChatBox("Respawn after 5 seconed...", getRootElement(), 255, 255, 0, true) setTimer (spawnPlayer, 5000, 1, source, x, y, z, 0, math.random(0,200) ) setGameSpeed(tonumber(0.4)) end addEventHandler( "onPlayerWasted", getRootElement( ), res ) how to Make gameSpeed Back to normal after Player Spawn
-
Linux Server Start ERROR: near "3": syntax error
^Dev-PoinT^ replied to eSports's topic in Scripting
================================== Copy internal.db to internal_original.db Do this command: ./sqlite3 internal_original.db .dump | ./sqlite3 internal_repaired.db Copy internal_repaired.db to internal.db ==================================== -
use 2 things https://wiki.multitheftauto.com/wiki/IsObjectInACLGroup function StopDamage ( attacker, weapon, bodypart ) cancelEvent() end bindKey ( "F1" , "down" ,StopDamage) addEventHandler ( "onClientPlayerDamage", getLocalPlayer(),StopDamage ) Edited Mojrem that is for body part you noob he want no damage at all Please Read Wiki for few minutes
-
lol Nice Job CowTurbo i like that thing you ride it
-
what about this ? if source == nredBar or source == ngreenBar or source == nblueBar then setPlayerNametagColor(localPlayer,(guiScrollBarGetScrollPosition(nredBar)*2.55),(guiScrollBarGetScrollPosition(ngreenBar)*2.55),(guiScrollBarGetScrollPosition(nblueBar)*2.55))
-
what abuout this ? function restartAllResources() -- we store a table of resources local allResources = getResources() -- for each one of them, for index, res in ipairs(allResources) do -- if it's running, if getResourceState(res) == "running" then -- then restart it restartResource(res) end end end
-
iam not experienced Scripter i have months To Learn Now i Make My own Rool script wait for other one
-
[setPlayerMoney] Required Arguments thePlayer: Which player to set the money of amount: A whole integer specifying the new amount of money the player will have and getPlayerMoney Need The localPlayer Onley
-
oh sry i dont get what he say isnt Ped =Zombie and Player?
-
ped = createPed( 19, -1634.5775, 1203.85, 7.1796 ) addCommandHandler( "give", function ( player, command, id, amount ) if not tonumber ( id ) then return end if not tonumber ( amount ) then amount = 9001 end giveWeapon( ped, id, amount, true ) end ) You can give him a weapon with "give " command in console.
-
ok Benxamix2 love you q1
-
why dont you read wiki ? function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Button[1]) then triggerServerEvent ("Froze", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) function toggleFreeze ( localPlayer) local frozen = getPedFrozen ( localPlayer) setPedFrozen ( sourcePlayer, not frozen ) end addEventHandler ("onClientGUIClick", getLocalPlayer(), onGuiClick)
-
tapl you remember my topic about RedTeam and Blue Team is this can work with and is it effects on this?
-
it didnt work but Thx any way Solved i alredy have one but white color
-
no erros and dont work
-
so what i do for the next step ?
-
Please Help day by day mybe i well get Better
