Jump to content

Reuno

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Reuno

  1. Reuno

    Vehicle's name

    Not really , this will remove the text after you leave the car , what i want is remove the text after 3 secs
  2. Reuno

    Vehicle's name

    Sorry for bumping , i just added addEventHandler ( "onClientRender", getRootElement(), carName ) , it appears now , but now the problem is how to let it disappear !
  3. Reuno

    Vehicle's name

    Well , it's still the same problem , i guess it's related to timers or something .
  4. Reuno

    Vehicle's name

    Well , it's not the problem , my cod is working perfectly it displays the vehicles name , but the main problem is that the vehicle's name appears for a moment only then disappears .
  5. Reuno

    Vehicle's name

    Helloo everyone , so i was trying to make a script which allows you to see the vehicle's name you entered , but i got a problem , when i get in a vehicle , it shows it's name , but for less than 1 second then it disappears , i searched hard in mtasa's wiki , but i still didn't find any , so what should i add so it can appear for an amount of time (more than a second) , here's the cod : function carName () local player = getLocalPlayer() local vehicleName = getVehicleName ( getPedOccupiedVehicle ( player ) ) dxDrawText ( vehicleName , 320, 380+115, 2500, 150, tocolor ( 255, 255, 255, 255 ), 1.5, "bankgothic" ) end addEventHandler( "onClientVehicleEnter", getRootElement(), carName )
×
×
  • Create New...