Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    PLS help

    You mean that other players can kill your training peds?
  2. The problem is that you set the height of the combo box wrong, it should be more than 22, it doesn't auto resize. ComboBoxNews = guiCreateComboBox(9, 44, 168, 80, "Hello", false, nil) Test with that and you'll see.
  3. Castillo

    DM Levels

    You can easily add a column to the scoreboard on a simple script: -- script.lua: exports [ "scoreboard" ]:scoreboardAddColumn ( "level" ) -- meta.xml:
  4. Please use the search feature next time: viewtopic.php?f=130&t=56172
  5. You can either use this sprite library: viewtopic.php?f=108&t=49179 Or this useful function I made: https://wiki.multitheftauto.com/wiki/DxDrawGifImage
  6. Ah, puse triggerClientEvent, queria decir triggerServerEvent.
  7. Of what game mode are you talking about?
  8. Castillo

    About my password

    The only way would be changing your password.
  9. ShoDown Roleplay was based on valhalla leaked scripts, which means they are illegal.
  10. Castillo

    My Server.

    You must open them on your modem/router page. This website should help you: http://portforward.com/
  11. No, volve a leer lo que dije hasta que lo entiendas.
  12. Lo que tenes que hacer es esto: Al iniciar el script client side ( onClientResourceStart ) ejecutas un evento server side asi: triggerServerEvent
  13. Is not for anything, it was a typo on his script.
  14. No, that won't work, obviously, you'll have to check cursor position with onClientClick.
  15. addCommandHandler ( "rank", function ( ) for _, player in ipairs ( getElementsByType ( "player" ) ) do local rank = exports.race:getPlayerRank ( player ) if ( rank == 1 ) then outputChatBox ( "#ffffff1º ".. getPlayerName ( player ) .." Winner!", root, 0, 0, 0, true ) elseif ( rank == 2 ) then outputChatBox ( "#ffffff1º ".. getPlayerName ( player ) .." Second!", root, 0, 0, 0, true ) elseif ( rank == 3 ) then outputChatBox ( "#ffffff1º ".. getPlayerName ( player ) .." Third!", root, 0, 0, 0, true ) end end end )
  16. Castillo

    Login music

    Yes, I checked it before reply to your post.
  17. Well, the first problem is that you are getting Serial and Account values from edit boxes instead of from selected item. local Serial = guiGetText(Serial) local Account = guiGetText(Account); Do this instead: local Serial = guiGridListGetItemText ( GUIEditor.gridlist[1], row, 3 ) local Account = guiGridListGetItemText ( GUIEditor.gridlist[1], row, 2 ) triggerServerEvent("RemoveAccount",localPlayer,Serial,Account,row); And here: addEvent ( "RemoveAccountFromClient" , true) addEventHandler ( "RemoveAccountFromClient:" ,root, function ( row ) guiGridListRemoveRow ( GUIEditor.gridlist[1], tonumber( row ) ) end ) You put: "RemoveAccountFromClient:" See the: ":" ?
  18. Castillo

    My Server.

    Did you open the ports required? Write: "openports" on server console ( BLACK WINDOW ) to check if they are open.
  19. Castillo

    Login music

    Hmm, if I'm right, before it didn't destroy the element, but I may have read wrong, so I guess there's no difference.
  20. What do you mean by "normal db" and "sqlite"? do you mean using executeSQLQuery and db functions?
  21. It removes the SQL row but not the one on the gridlist? if so, post how do you trigger: "RemoveAccount".
  22. You want to get all the online player ranks?
  23. Castillo

    DM Levels

    You can use my "exp_system" which is a level + experience system: https://community.multitheftauto.com/in ... ls&id=1253
  24. Castillo

    Stolen Race

    viewtopic.php?f=115&t=54447
×
×
  • Create New...