-
Posts
512 -
Joined
-
Last visited
Everything posted by 3B00DG4MER
-
Don't Work I tried to Attach the Text to a Ped local ped = createPed (21, 2000.6636962891, 1538.318359375, 13.5859375) addEventHandler ( "onClientRender", root, function ( ) local pX, pY, pZ = getElementPosition ( ped ) local distance = getDistanceBetweenPoints3D ( pX, pY, pZ, pedX, pedY, pedZ ) if ( distance <= maxDistance ) then local x, y = getScreenFromWorldPosition ( pX, pY, pZ ) if ( x and y ) then dxDrawText( "Criminal", x, y, _, _, tocolor( 255, 255, 255, 2555 ), 2, "default", "center", "center" ) end end end ) But the same fix it with Ped PLease
-
Hello,I want today to Create a 3D Text Appears above the head of a ped i have seen that in SUAR server Thanks.
-
Hello,Today i made a Criminal system which You can Change Your Team To Criminal And Select your Skin From GridList but when You choose a Skin,Does'nt Change I tried to Add outputchatbox("You selected"..skin..".",source) Work's but it does'nt work with setElementModel Client Side: function joinTeam() triggerServerEvent("gov",localPlayer) local skin = guiGridListGetItemText ( GUIEditor_gridlist[1], guiGridListGetSelectedItem ( GUIEditor_gridlist[1] ), 1 ) guiSetVisible(windowjob, false) outputChatBox("You selected "..skin..".",source) showCursor(false) setElementModel ( source, skin ) end addEventHandler("onClientGUIClick", GUIEditor_Button[1] , joinTeam, false)
-
Thanks Small Error stop Script completly
-
Hello,Today I made a system which get Radar area Size X and Y i let the money of turf is sum of Size X and Y it's Say's Attempt to call local 'money' Here is Server Side: I delete somethings to protect script local radarareas = getElementsByType ( "radararea" ) -- get a table of radararea elements for k, theArea in ipairs(radarareas) do local sizeX, sizeY = getRadarAreaSize ( theArea ) local money = (tonumber(sizeX)*tonumber(sizeY)) outputChatBox("This turf do not belong to anyone. Wait 2 minutes to capture the turf and win "..money"$", player, 0, 255, 0, false) end end
-
it get name of the vehicle Exactly. You can't destroy a vehicle name, thats not an element. Use Solidsnake's code, that should work. His Code not work,and There is No bug with his code
-
it get name of the vehicle
-
Now the Error is This local vehicleName = getVehicleName ( theVehicle ) destroyElement( vehicleName ) Bad Argument
-
You mean That ? addEventHandler("onClientVehicleEnter", getRootElement(), function(source,theVehicle,thePlayer, seat) if(getPlayerTeam(source) == "WhiteTeam" or getPlayerTeam(source) == "BlackTeam") then local veh = getVehicleName(theVehicle) destroyElement( veh ) end end ) But nothing Happend
-
Hello,this my old script,i have add some of features I want this Time when The Black team or White team Enter vehicle destroy it Client : addEventHandler("onClientVehicleEnter", getRootElement(), function(theVehicle,thePlayer, seat) if(getTeamName(thePlayer) == "WhiteTeam" or getTeamName(thePlayer) == "BlackTeam") then local veh = getVehicleName(theVehicle) destroyElement( veh ) end end )
-
Can you Tell Me please, I can't fix it
-
Thank u,But when i kill someone doesn't change please fix it
-
Not Work ,Anyone Fix it ?
-
Hello,I made today script which Show team Score On Any Player Die But The Dx doesn't Show when Any one die Please fix (I removed Some Codes[To Protect My Script]) local team = getPlayerTeam(player) local Bscrore = "0" local Wscrore = "0" function onWasted(killer, weapon, bodypart) if team == "WhiteTeam" or "BlackTeam" then dxDrawText("Black Team:"..Bscore, 0, 500, 319, 426, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) dxDrawText("White Team:"..Wscore, 0, 600, 319, 426, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", true, true, true, true, false) end local kteam = getPlayerTeam( killer ) if kteam == "WhiteTeam" then Wscore = Wscore+1 else Bscore = Bscore+1 end end addEventHandler("onClientPedWasted", getRootElement(), onWasted)
-
I started the server,Everything alright But,No Jobs,No Shops,No Factions,No Vehicles Only Accounts Can you test it for me ? please
-
fairplay i tried it,But Why it Another Question Why Fairplay not work,I do the database mysql i added the table ....but not work
-
,i want to kill myself
-
Can you lock it mod please
-
Hello,Today i'm finding for a Script or A gamemode Gamemode which work mysql(Without Errors plz) Account system,Jobs,Factions....... Sorry,I don't have money (I have money but i don't have masercard or Paypal Account....)
-
i read it,I test you script Updates ad Mods System They work perfectly and easy
-
What mean the Error 403 ?
-
Thanks,I have Port forward from the begining
-
Thanks
-
Thank you very Much #Solidsnake14 for the command fetchRemote Can you fix it (Add it in My script please) !!! And I'll be thankful
