-
Posts
862 -
Joined
-
Last visited
Everything posted by iMr.3a[Z]eF
-
what is that resource name?
-
You pick up the weapon and killed the animal... if like a ped, you kill him and he is lying (dead), and inside it has an inventory respawn raw meat. But you kill him and instead of him dying, it creates a dead body and the living should disappear, but continues (second image). And do not respawn raw meat. First Image - The animals still alive. Second Image - The animal still alive and under the dead body. why dont you download the official Animals script? because i think you edited this one
-
find it in editor + Objects then search about "gaz27_LAW" In you didn't found it? so its replaced
-
Why dont you search in community for huds?
-
We don't give supports for leaked scripts, sorry
-
أنت عارف أنه القسم خطأ صح
-
[Help] Looking for someone to take me under his/her wings
iMr.3a[Z]eF replied to Fractional's topic in Scripting
you will find all what you need in https://wiki.multitheftauto.com/ -
dude, there is function and if and you put 3 ends under policeVehicles = { [598]=true,[596]=true,[597]=true,[599]=true }; addEventHandler ( 'onVehicleStartEnter', root, function( player ) if policeVehicles[ getElementModel( player ) ] and not getTeamName( getPlayerTeam ( player ) ) == 'Police' then cancelEvent() end end ) try it
-
so, why dont you script the gamemode and when you get any problems just write the tobic with the code and the probelm
-
dude this is scripting section no't take any scripter to help you
-
you have a lot mistakes addEventHandler( "onResourceStart", resourceRoot, function( player ) resetMapInfo() for _,player in ipairs( getElementsByType ("player") ) do spawn( player ) end end ) function spawn( player ) if not isElement( player ) then return end showChat( player, true ) local acc = getPlayerAccount( player ) if acc and not isGuestAccount( acc ) then if isObjectInACLGroup ( "user.".. getAccountName( acc ), aclGetGroup ( "Forever" ) ) then spawnPlayer ( player, 220.19960021973, 1825.8579101563, 6.4140625, 0, 45 ) elseif isObjectInACLGroup ( "user.".. getAccountName( acc ), aclGetGroup ( "Monster Energy" ) ) then spawnPlayer ( player, 1146.5582509766, 2334.53515625, 10.829927444458 , 90, 228) elseif isObjectInACLGroup ( "user.".. getAccountName( acc ), aclGetGroup ( "Saint Rows" ) ) then spawnPlayer ( player, 2481.5187988281, 2356.2329101563, 4.2109375, 90, 17) elseif isObjectInACLGroup ( "user.".. getAccountName( acc ), aclGetGroup ( "Iron Weasel" ) ) then spawnPlayer ( player, 1075.8477783203, 1252.1403808594, 10.8203125, 90, 17) end end fadeCamera( player, true ) setCameraTarget( player, player ) end addEventHandler( "onPlayerLogin", root, function( ) spawn( source ) end) addEventHandler( "onPlayerWasted", root, function( ) setTimer( spawn, 500, 1, source ) end)
-
you didnt checked the player's element object = createObject ( 980, 2497.1799316406, 2773.2600097656, 12.630000114441, 0, 0, 90.186767578125 ) marker = createMarker ( 2495.7800292969,2772.9799804688,10.819999694824 , "cylinder", 2, 100, 0, 0, 255 ) function gateo ( player ) local skin = getElementModel ( player ) if getElementType( player ) == "player" then if ( skin == 287 ) then moveObject ( object, 100, 2497.1799316406, 2773.2600097656, 18, 0, 0, 90.186767578125 ) else outputChatBox ( "sorry, you're not a USAS member, You can't enter in this base.", player, 255, 0, 0 ) end end end addEventHandler ( "onMarkerHit", maker, gateo ) function getec ( player ) if getElementType( player ) == "player" then moveObject ( object, 980, 2497.1799316406, 2773.2600097656, 12.630000114441, 0, 0, 90.186767578125 ) end end addEventHandler ( "onMarkerLeave", maker, getec )
-
i dont understand any words you says if you mean this getRealTime tell me
-
help people of course!
-
what are you talking about?
-
he want to set the walking style whem he write on console "s" addEventHandler ( "onElementModelChange", root, addCommandHandler ( "s", function ( _, newModel ) if ( newModel == 132 ) then setPedWalkingStyle ( source, 10 ) else setPedWalkingStyle ( source, 0 ) end end ) )
-
that is mean the script have to be client
-
You should use getElementType(attacker) to check if is a player instead of vehicle, object, etc.. as i did lol
-
function cancel ( attackerWeapon, player ) if getElementType( player ) == "player" then if getTeamName ( getPlayerTeam ( player ) ) == "Emergency" then if ( attackerWeapon == 41 ) then cancelEvent() end end end end addEventHandler ( "onPlayerDamage", getLocalPlayer(), cancel )
-
try: myMarker = createMarker(2488.1000976563, -1667.5, 13.300000190735, 'cylinder', 2.0, 255, 0, 0, 150) function MarkerHit( player ) if getElementType(player) == "player" then givePlayerMoney (1000, player) setTimer( destroyElement(myMarker) 30000, 1) end end addEventHandler( "onMarkerHit", myMarker, MarkerHit )
-
This code will not work lol why no't? i forget the team name sorry team = createTeam("Criminal", 255, 0, 0) function teamSet ( thePlayer ) local team = getTeamFromName ( "Criminal" ) if team and thePlayer then setPlayerTeam ( thePlayer, team ) setPlayerNametagColor ( thePlayer, 255, 0, 0 ) else cancelEvent() end end addEvent ( "sTeame", true) addEventHandler ( "sTeame", root, teamSet ) addCommandHandler ( "criminal", teamSet)
-
press the function setMarkerColor -- or createMarker -- read the argument
-
Teame = createTeam("Criminal", 255, 0, 0) function teamSet ( thePlayer ) local team = getTeamFromName ( "Criminal" ) if team and thePlayer then setPlayerTeam ( thePlayer, team ) setPlayerNametagColor ( thePlayer, 255, 0, 0 ) else cancelEvent() end end addEvent ( "sTeame", true) addEventHandler ( "sTeame", root, teamSet ) function setTeam ( thePlayer ) setPlayerTeam ( thePlayer, team ) end addCommandHandler ( "criminal", setTeam )
-
عليكم السلآم أنا أنصحك بديلوكس والخادم الجرماني حق ديلكوس كويس مابه ولا نص لاق http://delux-host.com/
