Jump to content

Whit3

Members
  • Posts

    51
  • Joined

  • Last visited

Details

  • Gang
    Elite Master Players

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Whit3's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. Whit3

    Little Help

    okay, but i wanna get the name and draw with dxdrawtext and for every draw i wanna get their status
  2. Whit3

    Little Help

    I wanna draw members of both teams Like Team 1 Player1 - Alive/death Player2 - Alive/death Player3 - Alive/death Team 2 Player1- Alive/death Player2- Alive/death Player3- Alive/death
  3. Whit3

    Little Help

    http://i.imgur.com/tQJgs7e.jpg - I must include in their respective team, members who belong -I tried to do it this way - Some one can help me? Thanks ..... for i,player in ipairs(getElementsByType("player")) do i = i+1 namex = getPlayerName(player) dxDrawText(namex, 8.71*x, 286*scalaY+i*0.2, 1087*scalaX, 317*scalaY, tocolor(255, 255, 255, 255), 1.10*scalaX, "default-bold", "left", "top", false, false, true, true, false) if (i > 5 ) then --it's the 2th team dxDrawText(namex, 8.71*x, 427*scalaY+i*0.2, 1087*scalaX, 317*scalaY, tocolor(255, 255, 255, 255), 1.10*scalaX, "default-bold", "left", "top", false, false, true, true, false) end end
  4. Whit3

    problem

    What's Wrong? Error : GetElementModel got boolean Server Side local activated = 0 function disableFireForH( theVehicle, seat ) local id = getElementModel ( theVehicle ) if activated == 0 then if id == 425 then toggleControl (id, "vehicle_fire", true) end end end setTimer(disableFireForH , 100,0) function disablefire() activated = 1 outputChatBox("Hunter Fire Disabled") end addCommandHandler("df",disablefire) function activatefire() activated = 0 outputChatBox("Hunter Fire Activated") end addCommandHandler("af",activatefire)
  5. Grazie così la prossima volta che ricapita capisco perchè questa cosa non mi era mai capitata
  6. Whit3

    Help derby

    1)triggerClientEvent ( "w3", getRootElement()) -- if you don't KNOw, W3 mean my nick Whit3 ----> W3 2)I know that I didn't compiled it, I forgot. 3) this is the edit of destructionderby ( I know that i didn't created this script ) 4) how he took this server-side?
  7. Whit3

    partial circle

    That's all.. but you mean screenshots?
  8. l'ho già fatto ma niente.. ho preso l'absolute (diciamo con i numeri che erano tipo 600 e 800 una cosa del genere) vabbè sta di fatto che eseguito questa operazione : - la mia risoluzione è 1280x1024 quindi 1280/600 = e il numero del risultato moltiplicato per la rx 1024/600 = e il numero del risultato moltiplicato per la cx
  9. Whit3

    partial circle

    This script work just in 1 resolution ( 1280x1024 ) in the other one the circle are moved or larger What's the problem? local rx,cx = guiGetScreenSize() local posx = 0.129 * rx local posy = 0.837 * cx local size = 0.116 * cx function healthstatus ( ) local target = getCameraTarget() if not target then return end if not (getElementType(target) == "vehicle") then return end local car = target if ( isPedInVehicle ( localPlayer ) == false ) then return false end local health = getElementHealth ( car ) local name = getVehicleName ( car ) local currenthealth = math.max(health - 250, 0)/750 dxDrawPartialCircle(posx, posy, size,2,0,currenthealth*360) end addEventHandler ( "onClientRender", root, healthstatus )
  10. no è che in pratica il "cerchio" che dovrebbe indicare la vita nel radar, nel mio caso con la mia risoluzione funziona tutto ..(poi non capisco che cosa cambia se metto --> rx * 0.129 oppure --> 0.129 * rx ; p.s puoi parlarmi in terminologia assurda ahahah capisco non c'è bisogno che mi dici che * indica il x ahaah tranquillo) Anyway come già detto nella mia risoluzione funziona alla grande nelle altre, il cerchio o và fuori lo schermo o non si vede correttamente anche se inverto come hai detto.
  11. local rx, cx = guiGetScreenSize () local posx = rx * 0.129 local posy = cx * 0.837 local size = cx * 0.116 dxDrawPartialCircle(posx, posy, size,2,0,360) dici in questo modo?
  12. già fatto hunter è questo il punto ti faccio capire.. local rx, ry = guiGetScreenSize ( ) dxDrawPartialCircle(rx/7.75, ry/1.195, 116,2,0,360) il punto è che nella mia risoluzione si vede come dovrei vederlo, ma in altre, non si vede correttamente cioè il cerchio è spostato tutto qui
×
×
  • Create New...