Jump to content

FreeGells

Members
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

0 Neutral

About FreeGells

  • Rank
    Rat

Recent Profile Visitors

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

  1. getElementPosition ( thePlayer ) ?
  2. And how i get the player position on server-side ? x_x
  3. ok, now leaving a little of topic subject, how can I create a command with params? ex: /gate obj pass
  4. How i create the gate ingame ?
  5. Hello friends! I wonder if any of you have any resource to create gates in-game with password, I am looking this for a long time, thanks!
  6. FreeGells

    Help

    hello, please help me with this script function glue() local player = getLocalPlayer() if not getPedOccupiedVehicle(player) then local vehicle = getPedContactElement(player) if getElementType(vehicle) == "vehicle" then local px, py, pz = getElementPosition(player) local vx, vy, vz = getElementPosition(vehicle) local sx = px - vx local sy = py - vy local sz = pz - vz local rotpX = 0 local rotpY = 0 local rotpZ = getPedRotation(player)
  7. Hello! I need check if player is in a top of vehicle, how i check this ? thanks
  8. Hello friends, i need help to make random messages, but i dont have idea how i make this, please help, thanks.
  9. Hello! I need help to change weapons sound, why i don't have idea to how make this, thanks!
  10. sorry, forgot to remove that part.
  11. i try adapt this, but i dont got it function reload (thePlayer) reloadPedWeapon( thePlayer) addEventHandler('onResourceStart', resourceRoot, reload) end function replaceModel() txd = engineLoadTXD ( "skins/10.txd" ) engineImportTXD ( txd, 10 ) dff = engineLoadDFF ( "skins/10.dff", 10 ) engineReplaceModel ( dff, 10 ) txd = engineLoadTXD ( "weapons/m4.txd" ) engineImportTXD ( txd, 356 ) dff = engineLoadDFF ( "weapons/m4.dff", 356 ) engineReplaceModel ( dff, 356 ) txd = engineLoadTXD ( "weapons/sniper.txd" ) engineImportTXD ( txd, 358 ) dff = engineLoadDFF
  12. Hello friends, i try create a bind to reload my weapon with R , but this dont working.. Code: function reloadGun(sourcePlayer, command) reloadPedWeapon(sourcePlayer) end addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "r", "down", reloadGun) end) Thanks!
  13. FreeGells

    GUI Help

    The error continue... @EDIT FIXED! Thanks for all.
  14. FreeGells

    GUI Help

    61: Bad argument @ 'bindKey'
×
×
  • Create New...