Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Using XML wouldn't be efficient, I would recommend to use account data instead, a lot easier too.
  2. addEventHandler ( "onPlayerJoin", root, function ( ) spawnPlayer ( source, 1642.5999755859, -2241.1999511719, 13.10000038147 ) setCameraTarget ( source ) end )
  3. This doesn't really make much sense to me, why are you using a client side script? you must do it all server side. Use: spawnPlayer setCameraTarget
  4. Is it set as server side script?
  5. for i,d in pairs(getModelHandling(472)) do setModelHandling(453, i, d) end 'k' was not defined.
  6. You must learn the basics of Lua scripting first. viewtopic.php?f=148&t=40809
  7. Are you sure that the vehicle was spawned by you and not another player?
  8. Any errors on the debugscript? is it set as client side on the meta.xml?
  9. You can use colshapes. createColRectangle killPed onColShapeHit
  10. I guess it's a bug from the function, you should report it in the bug tracker.
  11. Why would you need to get the variable name?
  12. What do you mean with the "name"?
  13. Castillo

    dxDrawText

    You're welcome.
  14. Creas una tabla con las musicas, y vas cambiando.
  15. Crea una tabla con las canciones y luego vas cambiando.
  16. Castillo

    dxDrawText

    Use: isLineOfSightClear
  17. playSound es solo client side, tu script debe de estar puesto como server side.
  18. The resource has settings to disable that.
  19. Cambias el modo de spawn a spawnpoints nada mas? en el meta.xml se cambia.
  20. Download the latest resources: https://code.google.com/p/mtasa-resourc ... loads/list
  21. There's no such thing as "beer", you must use your imagination to make it.
  22. Post the content of fr_client.lua.
  23. function getRep ( _, playerName ) if ( playerName ) then local thePlayer = getPlayerFromName ( playerName ) if ( thePlayer ) then local ExP = getElementData ( thePlayer, "ExP" ) or 0 outputChatBox ( getPlayerName ( thePlayer ) .." Reputation is ".. tostring ( ExP ) .."!" ) else outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) end end end addCommandHandler ( "getrep", getRep )
  24. Ah, you mean that, well, you must use colshape, bindKey.
×
×
  • Create New...