Jump to content

UsErFaiLed

Members
  • Posts

    11
  • Joined

  • Last visited

Details

  • Gang
    Nop

UsErFaiLed's Achievements

Square

Square (6/54)

0

Reputation

  1. Hello guys I would like to know how I let dxDrawText in all resolutions in the same place that resolution at home she goes to a local who can help me? Google Translator I know I have to use this function: guiGetScreenSize() function Money() dxDrawText("Money", 377, 196, 683, 246, tocolor(0, 0, 0, 255), 2.00, "pricedown", "center", "center", true, true, true, true, false) end addEventHandler ( "onClientRender",root,Money)
  2. is because I need that way because of GameMode
  3. Hello people would like someone helps me in this script the script the first function of time to do the command grab as another command to remove the time There is KillTimer () can someone help me scripts Below Google Translate!! function timer (thePlayer) if ( hasObjectPermissionTo ( thePlayer, "function.kickPlayer", false ) ) then setElementData(thePlayer, "blood",999999999) Timer = setTimer(setElementData,50,0,thePlayer, "brokenbone" , false ) Timer = setTimer(setElementData,50,0,thePlayer, "pain" , false ) Timer = setTimer(setElementData,50,0,thePlayer, "cold" , false ) Timer = setTimer(setElementData,50,0,thePlayer, "bleeding" , false ) Timer = setTimer(setElementData,50,0,thePlayer, "food" , 100 ) Timer = setTimer(setElementData,50,0,thePlayer, "thirst" , 100 ) end end addCommandHandler("ma" , timer ) function killtimer (thePlayer) killTimer(Timer) end addCommandHandler("mp" , killtimer )
  4. Hello guys I wanted someone to help me if I want that when someone puts up a tent the message but only Admins can see Message by Please Help Me GOOGLE TRANSLATOR!! function admintent (thePlayer) outputChatBox("Player "..getPlayerName(source).." Colocou uma Tenda", getRootElement(), 255 , 255 ,255 , true ) end addEventHandler("onPlayerPitchATent", getRootElement(), admintent)
  5. Help me please i want that when digit /adm appears written on the character Administrator I know uses dxDrawText help me Thanks I don't understand, please fix your English (Not trying to be rude...) Next I want when typing / adm appears above the character written Staff and everyone to see on my character written Staff Like a Nametags: Sorry Google Translator lp = getLocalPlayer() function admindx( ) local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) for _, v in ipairs( getElementsByType 'player' ) do tx, ty, tz = getElementPosition( lp ) dist = math.sqrt( ( px - tx ) ^ 2 + ( py - ty ) ^ 2 + ( pz - tz ) ^ 2 ) if dist < 30.0 then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false,localPlayer ) then local sx, sy, sz = getPedBonePosition( lp, 5 ) local x,y = getScreenFromWorldPosition( sx, sy, sz + 0.3 ) if x then -- getScreenFromWorldPosition returns false if the point isn't on screen dxDrawText( "Staff", x, y, x, y, tocolor(150, 50, 0), 0.85 + ( 15 - dist ) * 0.02, "bankgothic" ) end end end end end function teste () addEventHandler("onClientRender",root, admindx ) end addCommandHandler("adm" , teste )
  6. Help me please i want that when digit /adm appears written on the character Administrator I know uses dxDrawText help me Thanks
  7. Hello everybody then is the following I want when typing /adm appears over the head of my character writing Administrator Can someone help me I think it is something. function admin() local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) tx, ty, tz = getElementPosition( lp ) dist = math.sqrt( ( px - tx ) ^ 2 + ( py - ty ) ^ 2 + ( pz - tz ) ^ 2 ) if dist < 30.0 then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false,localPlayer ) then local sx, sy, sz = getPedBonePosition( lp, 5 ) local x,y = getScreenFromWorldPosition( sx, sy, sz + 0.3 ) if x then dxDrawText("Administrador", x, y, x, y, tocolor(150, 50, 0), 0.85 + ( 15 - dist ) * 0.02, "bankgothic" ) addEventHandler( "onClientRender" , root , bacon ) end end end end addCommandHandler("adm" ,admin )
  8. Is there any script that when enter / go is redirected to some website Type / google and goes to www.google.com ? Thank you Google Translator
  9. Hello, Guys wanted someone to help me up next I want when I create a car like the script below can only spawn one car at a time type spawns 1 Car then it is creating another what he is destroyed before cryo Help me Please Google translate function car ( thePlayer, command ) local x, y, z = getElementPosition ( thePlayer ) createVehicle ( 432, x, y, z + 10 ) end addCommandHandler ( "createtank", car )
×
×
  • Create New...