Jump to content

aim-killer

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by aim-killer

  1. is there a way to find out if someone aims and shoots a vehicle like : if getPedTarget is to a vehicle then how do we know if he shoots and the bullet hits the vehicle ?
  2. please dont double post.. i dont understand what you said so please try to explain a little better
  3. aim-killer

    Help

    EDIT: alright! thanks Castillo and amarant now i have got it to work with bindKey and a little help of setTimer
  4. aim-killer

    Help

    I am trying to make a simple script that changes vehicle speed when the siren is turned on and when turned off to normal .. however i couldnt figure how to change the handling when the siren is turned on inside the vehicle without reEntering it here is the code below (server side): function siren (thePlayer) vehicle = getPedOccupiedVehicle(thePlayer) sirenon = getVehicleSirensOn (vehicle) if sirenon then setVehicleHandling ( vehicle, "engineAcceleration", 17 ) outputChatBox("on") else setVehicleHandling ( vehicle, "engineAcceleration", nil, false ) outputChatBox ("off") end end addEventHandler ( "onVehicleEnter",getRootElement(), siren )
  5. aim-killer

    dxDraw

    thanks it works now EDIT: there was a mistake in your script, heres the working one: sx,sy = guiGetScreenSize() local marker = createMarker ( 0,0,2, "cylinder", 1, 0,255,255,155 ) function gui ( ) dxDrawRectangle ((sx/2)-50,(sy/2)-50,100,100, tocolor (0,0,0,155), false) end function aShowDx ( player ) if player == localPlayer then addEventHandler ( "onClientRender", getRootElement(), gui ) end end addEventHandler ( "onClientMarkerHit", marker, aShowDx,false ) function aDestroyDx ( player ) if player == localPlayer then removeEventHandler ( "onClientRender", getRootElement(), gui ) end end addEventHandler ( "onClientMarkerLeave", marker, aDestroyDx,false )
  6. aim-killer

    dxDraw

    I want the dxdraw to only show to the player who entered the marker not to all sx,sy = guiGetScreenSize() local marker = createMarker ( 0,0,2, "cylinder", 1, 0,255,255,155 ) function gui () dxDrawRectangle ((sx/2)-50,(sy/2)-50,100,100, tocolor (0,0,0,155), false) addEventHandler ( "onClientRender", getRootElement(), gui ) end addEventHandler ( "onClientMarkerHit", marker, gui )
  7. Is there any way that we can make a colored Circle Radararea in the map? is it possible to ? I only know how to make a rectangular one..
  8. No no no ... i want to know how to put a marker when i get into it it will teleport me to another place with a marker..
  9. Hey guys.. i am totally new in this stuff.. and i am totally looking for a script that's like a house system which teleport u when u get into a marker to another place.. but not into a interior, again when u get into the marker u got teleported u get teleported back to where u came ^^ hope u under stood what i said though
×
×
  • Create New...