Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. addEventHandler ( "onPlayerLogin", root, function ( _, account ) dbQuery ( loadPlayersVIP, { source }, dbConnection, "SELECT level FROM Freeroam_VIP_Players WHERE account = ? LIMIT 1", getAccountName ( account ) ) end ) function loadPlayersVIP ( query, who ) local sql, numrows, errmsg = dbPoll ( query, 0 ) if ( type ( sql ) == "table" and numrows > 0 ) then setElementData ( who, "VIP", sql [ 1 ] [ "level" ] ) end end
  2. They obviously got knowledge on how the freeroam script works.
  3. Instead of looping every single row, just select the one that matches his account.
  4. Castillo

    isPedBlood ?

    TAPL already told you the "solution", but it seems like you don't understand ENGLISH at all, so, I suggest you to search for the section of your native language and ask there.
  5. Castillo

    Ayuda Vida

    guiGridListSetItemText ( itemGrid, row, 2, tonumber(itemH)..", false, false ) Esta mal esa linea, deberia ser: guiGridListSetItemText ( itemGrid, row, 2, tostring(itemH), false, false )
  6. But it may not affect sounds played by playSound.
  7. Modifying the freeroam isn't that easy, since is scripted on a different way.
  8. Castillo

    isPedBlood ?

    That function really makes no sense, nor actually does what you are trying to say.
  9. You set the script as client side, right?
  10. You can create a custom help manager with grid lists.
  11. You don't have to put the IP there, you must give him your public IP address.
  12. That screenshot is from your friend trying to connect? if so, that's a local IP address, meaning that he won't be able to connect, give him your public IP address. How to get it: http://www.myip.es/
  13. This event is available from 1.4 onwards. Wiki quote:
  14. Castillo

    Vehicle table

    No, that doesn't make any sense, read again the syntax of table.sort.
  15. What has fadeCamera to do with music? To disable the scoreboard toggling, use: guiSetInputEnabled
  16. I had that problem as well, I guess it's a MTA bug.
  17. Dice que el evento ya esta puesto.
  18. Castillo

    resources

    You're welcome.
  19. Castillo

    resources

    Is not a bug or problem, is that you didn't set them to automatically start up with the server, you can do this by going to "mtaserver.conf", end of the file, and you'll see there some examples.
  20. Castillo

    Ayuda race

    onClientMapStarting -- Evento playSound
  21. Castillo

    table

    You're welcome.
  22. Castillo

    help

    Just copy Jaysd code and replace yours with it, it works fine.
  23. Castillo

    Ramps

    No, I doubt it was ever released.
×
×
  • Create New...