Anubhav
Members-
Posts
2,277 -
Joined
-
Last visited
Everything posted by Anubhav
-
If it was me, I'd do this. if getTeamName(getPlayerTeam(thePlayer)) == "Police" then end
-
TAPL, sometimes error occur of getElementType so I use local marker1 = createMarker(0, 0, 5, "cylinder", 2, 0, 255, 0, 255) local marker2 = createMarker(50, 50, 50, "cylinder", 2, 0, 255, 0, 255) function markerfix(hitElement) if (source == marker1) or (source == marker2) then if getElementType(hitElement) and getElementType(hitElement) == "player" then local ve = getPedOccupiedVehicle(hitElement) if ve then fixVehicle(ve) takePlayerMoney(hitElement, 350) end end end end addEventHandler("onMarkerHit", root, markerfix)
-
The code doesn't make any sense.
-
Dude 220 lines are seriously less. You have added so many handlers its easy 220 lines like that, I must say. I am not offending you but just telling you.
-
stop telling i can i can i can.. just shut your mouth, he just want to sell his script for amount he want. -But 20$ is so much. That's what he is telling its to much. Everyone's complainting about the price and he can realy do it. You are a newbie on forum doesn't seem you know him.
-
Maybe it's your PC? Update you drivers may make it work.
-
https://wiki.multitheftauto.com/wiki/On ... WeaponFire Just add sea sparrow ID in the table.
-
toxic you're right. Actually what I did was I never released a script when I started. If I realy say this is easy but no that much special. Anyways, good job.
-
MagicMayhem @ I made a custom locking system. Lek @ Done
-
20 dollars? It should be around 9-10 dollars.
-
function afkCommand(thePlayer, cmd, r, g, b) local theVehicle = getPedOccupiedVehicle ( thePlayer ) local level = getPlayerWantedLevel ( thePlayer ) if ( level > 0 ) then outputChatBox("You cannot go AFK while being wanted!", thePlayer, 255, 255, 255) else if theVehicle then outputChatBox("You must be on foot to use this command.", thePlayer, 255, 255, 255) else if isPedOnGround(thePlayer) then if getElementDimension(thePlayer) < 10 then outputChatBox("You will be AFK in 5 seconds", thePlayer, 255, 255, 255) setTimer( function() setElementDimension(thePlayer, math.random(10, 1000)) setElementFrozen(thePlayer, true) end, 5000, 1 ) end else outputChatBox("You must be on the ground to use this command.", thePlayer, 255, 255, 255) end end end end addCommandHandler("afk", afkCommand) function returnafk (button, press, thePlayer, r, g, b ) if (press) then if button == "w" or button == "s" or button == "d" or button == "a" then local dimPlr = getElementDimension(thePlayer) if ((dimPlr >= 10) and (dimPlr <= 1000)) then setElementDimension(thePlayer, 0) setElementFrozen(thePlayer, false) outputChatBox("You are no longer AFK", thePlayer, 255, 255, 255) end end end end addEventHandler("onClientKey", root, returnafk)
-
playerBlibs = {} amouunt = 0 function deleteBlips() for i, v in ipairs(getElementsByType("blip")) do if v then destroyElement(v) end end end function updateGPS() amouunt = 0 local gangname = getElementData(getLocalPlayer(),"gang") for i, blip in ipairs(playerBlibs) do destroyElement(blip) end if not getElementData(getLocalPlayer(),"gang") then return deleteBlips() end playerBlibs = {} for i, player in ipairs(getElementsByType("player")) do if gangname == getElementData(player,"gang") then amouunt = amouunt+1 playerBlibs[amouunt] = createBlipAttachedTo(player,0,2,22,255,22) setBlipVisibleDistance(playerBlibs[amouunt],1000) end end end setTimer(updateGPS,1000,0)
-
YES MI KNOW EVERYTHING ME DOG ME PRESS EVERY KEY HHHH IW3945067UOHLBKM
-
Hello admin. I'm glad you visited this topic. Please PM me as fast as you can. I need to decompile my script at community. I had a trojan which wiped of my mta folder. I am the author of the resource. Please PM me or add me on skype. anubhav.agarwal80 Thank you!
-
playerBlibs = {} amouunt = 0 function deleteBlips() for i, v in ipairs(getElementsByType("blip")) do if getBlipIcon(v) == 0 then destroyElement(v) end end end function updateGPS() amouunt = 0 local gangname = getElementData(getLocalPlayer(),"gang") for i, blip in ipairs(playerBlibs) do destroyElement(blip) end if not getElementData(getLocalPlayer(),"gang") then return deleteBlips() end playerBlibs = {} for i, player in ipairs(getElementsByType("player")) do if gangname == getElementData(player,"gang") then amouunt = amouunt+1 playerBlibs[amouunt] = createBlipAttachedTo(player,0,2,22,255,22) setBlipVisibleDistance(playerBlibs[amouunt],1000) end end end setTimer(updateGPS,1000,0)
-
ME PRO DOG ME BITE EVERYONE
-
A: By killing ur self hhh. Q: What would you do if I was pro and raped 202020202020202022022020 girls!
-
I forgot to add what you told. Updated.
-
Actually its all because of the \n. You must stick the code together. * worst error when I saw it * It should realy be reported.
-
Sorry but this project will be in my school gamemode. Robbing was thier. I just din't tell Bilal to add it.
