Jump to content

Paplo

Members
  • Content Count

    124
  • Joined

  • Last visited

Everything posted by Paplo

  1. mark = createMarker ( x, y, z, "cylinder", 255, 255, 255, 0, 100 ) addEventHandler( "onClientMarkerHit", mark, function(player) theVehicle = getPlayerOccupiedVehicle (player) driver = getVehicleOccupant ( theVehicle ) if theVehicle then outputChatBox("test", driver) end end ) i want show "test" in chat for driver only but this code show to all player can help please ?
  2. What about if the admin I want to remove his admin if no login for a week can i do that? how
  3. If the player does not log into their account for a week then account automatically deleted Can I do this? If I can how what should use Please help
  4. Paplo

    whats wrong?

    function onResourceStart() local vehicles = getElementsByType ( "vehicle" ) local x, y, z = getElementPosition ( vehicles ) createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) i want to all vehicle have marker
  5. addEventHandler("onClientVehicleEnter", getRootElement(), function () local vehicle = getPedOccupiedVehicle ( localPlayer ) local x,y,z = getElementPosition( vehicle ) local collision = createColSphere ( x, y, z, 10.0 ) local playersincol = getElementsWithinColShape( collision, "player" ) sound = playSound3D( "music.mp3", x, y, z, true ) setSoundVolume( sound, 5 ) setSoundMaxDistance( sound, 20 ) attachElements ( sound, vehicle ) attachElements ( collision, vehicle ) end ) addEventHandler("onClientVehicleExit", getRootElement(), func
  6. hi local vehicle = getPedOccupiedVehicle ( localPlayer ) localPlayer = Checks player himself But I want checks from other players and not checks player himself
  7. Try this : setTimer ( function ( ) for _,element in next,getElementsByType ( 'object' ) do if getElementModel ( element ) == 6959 then setElementDimension ( element,50 ) end end end,1000,1 ) thank you it work
  8. function changeDim ( element ) if element and getElementType( element ) == "object" and getElementModel ( element ) == 6959 then setElementDimension ( element, 50 ) end end setTimer(changeDim, 1000, 1, source) whats wrong ?
  9. nobody have Answer ?
  10. <meta> <map src="Map.map" dimension="50"></map> </meta> i try to set dimension map in dimension 50 but not working i change dimension in meta and Map.map and it not working anybody have know how to do that?
  11. i try edit meta to <map src="Shot.map" /> but it not working map dim 0 not 50 hmmm noway to make code lua do this?
  12. <meta> <map src="Map.map" dimension="50"></map> </meta> anything wrong??
  13. i test it in my server but not work
  14. <object id="object (cunt_rockgp2_09) (64)" interior="0" collisions="false" alpha="255" doublesided="false" model="17029" scale="0.20000000298023" dimension="50" posX="3338.3999" posY="-1287.69995" posZ="-1.3" rotX="355.941" rotY="355.974" rotZ="17.677"></object> <object id="object (cunt_rockgp2_09) (64)" interior="0" collisions="false" alpha="255" doublesided="false" model="17029" scale="0.20000000298023" dimension="50" posX="3329.1001" posY="-1287.59998" posZ="-1.3" rotX="355.941" rotY="355.974" rotZ="17.677"></object> <object id="object (cunt_rockgp2_09)
  15. <object id="object (cunt_rockgp2_09) (77)" interior="0" collisions="false" alpha="255" doublesided="false" model="17029" scale="0.20000000298023" dimension="50" posX="3439.5" posY="-1046.90002" posZ="60.4" rotX="63.979" rotY="270.126" rotZ="85.847"></object> <object id="object (cunt_rockgp2_09) (78)" interior="0" collisions="false" alpha="255" doublesided="false" model="17029" scale="0.20000000298023" dimension="50" posX="3445.19995" posY="-1046.40002" posZ="60.4" rotX="63.979" rotY="270.126" rotZ="85.847"></object> <object id="object (cunt_rockgp2_09) (79)
  16. <map edf:definitions="editor_main"> <object id="object (vegasNbball1) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6959" scale="1" dimension="50" posX="3241.1001" posY="-1266.80005" posZ="0.2" rotX="0" rotY="0" rotZ="0"></object> <object id="object (vegasNbball1) (3)" interior="0" collisions="true" alpha="255" doublesided="false" model="6959" scale="1" dimension="50" posX="3241.09961" posY="-1226.80005" posZ="0.2" rotX="0" rotY="0" rotZ="0"></object> <object id="object (vegasNbball1) (4)" interior="0" collisions="tru
  17. Your message contains 158546 characters. The maximum number of allowed characters is 120000.
  18. i replace all but same problem
  19. how i can replace all dim in one time?
  20. lol Map.map have 750 line and have 750 dimension @@ noway else?
  21. <map src=Map.map" dimension="50"></map> i try to set my map in dimension 50 But it is still in the dimension 0 What i can do ?
×
×
  • Create New...