Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. ID = 191 addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) engineImportTXD ( engineLoadTXD ( "Assassins.txd" ), ID ) engineReplaceModel ( engineLoadDFF ( "Assassins.dff", ID ), ID ) end )
  2. Alex, vos estas hablando del game mode MTA paradise, pero el no especifico ningun game mode.
  3. Contesta mi pregunta: Pusiste el script como client-side en el meta.xml?
  4. 1: Skin ID is 0 by default. 2: What do you mean by "kill sound"? 3: I'm not sure if you can mute these sounds. 4: I guess getPedOccupiedVehicle is returning a boolean instead of a vehicle.
  5. You put the "meta.xml" as "meta.xml.xml", rename it to "meta.xml". Also, is "engineLoadTXD" not "engineloadTXD".
  6. Pusiste el script como client-side, no? P.D: Movi el tema a la sección española.
  7. Do all these files exists on the root folder? upload your entire resource to mediafire.com and post the link.
  8. You simply don't use it.
  9. This isn't a tutorial, please check out the other topics and see how they were made.
  10. "thePlayer" is not defined on the function executed by your timer.
  11. setElementPosition ( thePlayer, 1358.0443115234, 2154.703125, 11.015625 ) Change "thePlayer" to "source".
  12. I don't see why should PHP be used here? you can draw any text like that using shaders.
  13. You got me wrong, show us proof of the past scripts you have done.
  14. You can use the function: getResourceGUIElement with getElementChildren to obtain the GUI elements of a resource.
  15. How about if you show some of your work?
  16. Yes, you passed it, but you didn't define it on the function "hosptSlider".
  17. That's because you forgot to define 'source' in the functions you execute with a timer.
  18. function getWeaponAmmoType ( weaponName ) for i, weaponData in ipairs ( weaponAmmoTable.others ) do if ( weaponName == weaponData [ 2 ] ) then return weaponData [ 1 ], weaponData [ 2 ] end end local ammoName, id = false, false for ammo, data in pairs ( weaponAmmoTable ) do if ( data [ 1 ] [ 1 ] == weaponName ) then ammoName, id = ammo, data [ 1 ] [ 2 ] break end end return ammoName, id end
×
×
  • Create New...