Jump to content

MisterQuestions

Members
  • Posts

    460
  • Joined

  • Last visited

Everything posted by MisterQuestions

  1. Hey, i got a dude, and its how to use that function 'InterpolateBetween' on dxElements Like texts, rectangles, etc...
  2. Hey all, i got a dude, and its how to scale a dxElement (text, image, rectangle, etc) for every resolution? please u.u
  3. Hey, how to make a ped animation infinite... please
  4. Fixed, now i got a error on this , whats wrong? local Leaders = { [1] = { 0, 2934.3000488281, -2052.1000976563, 3.5, 179.252929 }, [2] = { 0, 2935.6999511719, -2052.1000976563, 3.5, 179.252929 }, [3] = { 0, 2937.1000976563, -2052.1000976563, 3.5, 179.252929 }, } m1, x1, y1, z1, r1 = unpack ( Leaders[1] ) m2, x2, y2, z2, r2 = unpack ( Leaders[2] ) m3, x3, y3, z3, r3 = unpack ( Leaders[3] ) function CreateThePeds() ped1 = createPed ( m1, x1, y1, z1, r1 ) ped2 = createPed ( m2, x2, y2, z2, r2 ) ped3 = createPed ( m3, x3, y3, z3, r3 ) end
  5. Hey, i have a dude, how to draw a text on a 3D position on GTA World?
  6. Attempt to concatename local 'UpperNickVariable' (a userdata value)
  7. Hmm, i added getTeamName :v but still...
  8. Nametag error? Hey can somebody say me whats wrong here and how to fix it? This should show over the nick a team or a rank if player is on the team named 'Advisory Racers' then will change to show their rank, and if he isn't on that team it will show the player team. Client-Side local r,g,b = 255,255,255 local rank = getElementData(player, "ACL") or "N/A" local team = getPlayerTeam(player) local UpperNickVariable = team if team then r,g,b = getTeamColor(team) elseif team == "Advisory Racers" then UpperNickVariable = rank else UpperNickVariable = team end dxDrawColoredText( UpperNickVariable.." \n"..getPlayerNametagText(player), sx - w, sy - oet, sx - w, sy, tocolor(r, g, b, a), {r,g,b,a} , NfontScale * textscale * NAMETAG_TEXTSIZE_N, Nfont, "center", "bottom", false, false, false, true)
  9. Hey everone, can some one tell me how to make a server on a linux vps? Please How to make it and things like that? Please D:
  10. Changed but doesn't work! Client-Side function PartyMode() setSkyGradient ( math.random (0,255), math.random (0,255), math.random (0,255), math.random (0,255), math.random (0,255), math.random (0,255) ) end function StartParty() pTimer = setTimer ( PartyMode, 100, 0 ) end addEvent("onPartyStart", true) addEventHandler("onPartyStart", getRootElement(), StartParty) function StopParty() killTimer( pTimer ) end addEvent("onPartyStop", true) addEventHandler("onPartyStop", getRootElement(), StopParty) Server-Side function StartParty() if isPlayerInACLGroup(player, g_GameOptions.admingroup) then outputChatBox("#ff0000[#0088ffPARTY#ff9e00]#ff0000APS #0000FFparty #ff9e00 mode #00ff00ON#ff9e00!", 255, 255, 255, true) triggerClientEvent( "onPartyStart", getRootElement() ) else outputChatBox("#ff0000[#0088ffPARTY#ff9e00]#ffffffFailed at party start!", 255, 255, 255, true) end end addCommandHandler("party", PartyMode) function StopParty() triggerClientEvent( "onPartyStop", getRootElement() ) outputChatBox("#ff0000[#0088ffPARTY#ff9e00]#ffffffParty mode #ff0000Off!#ffffff.", 255, 255, 255, true) end addCommandHandler("sparty", StopParty)
  11. Hey i maked this simple script, but whats wrong?? function PartyMode() setSkyGradient ( math.random (0,255), math.random (0,255), math.random (0,255), math.random (0,255), math.random (0,255), math.random (0,255) ) end function StartParty() if isPlayerInACLGroup(player, g_GameOptions.admingroup) then outputChatBox("#ff0000[#0088ffPARTY#ff9e00]#ff0000APS #0000FFparty #ff9e00 mode #00ff00ON#ff9e00!", 255, 255, 255, true) pTimer = setTimer ( PartyMode, 100, 0 ) else outputChatBox("#ff0000[#0088ffPARTY#ff9e00]#ffffffFailed at party start!", 255, 255, 255, true) end end addCommandHandler("party", PartyMode) function StopParty() killTimer( pTimer ) outputChatBox("#ff0000[#0088ffPARTY#ff9e00]#ffffffParty Finished !!", 255, 255, 255, true) end addCommandHandler("sparty", StopParty)
  12. Im currently making my own one...Actually im noob but at least i try https://www.youtube.com/watch?v=3B6C526dneA
  13. How to read meta's file, for load maps and scripts?
  14. Hi hhow to set a player in a dimention aand then set ssky color, weather or create objects just in that dimention?
  15. Hey can somebody help me, how to make this image has a continuous rotation e.e My code: local sX, sY = guiGetScreenSize() local rot = 1 rot = rot+1 function ResetAngle() if ( rot == 360 ) then rot = 0 end end function DrawTheSymbol() dxDrawImage (655, 25, 113, 122, "timer.png",rot,0,0) end addEventHandler("onClientRender", getRootElement(), DrawTheSymbol)
  16. But how to use it, Can you explain me please ?
  17. But when player join again, the counter restarts...
  18. Hey can somebody help me? How can i make a coutdown, Not a simple race countdown A countdown of days, hours, minutes, seconds, miliseconds? Can some body help me? I want to draw a text ("dxDrawText") with the countdown. But how?
×
×
  • Create New...