Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    HELP :D

    You want to show/hide the vehicles for all players when you press F2? or just for the player that pressed it?
  2. You are triggering the event: "onTravelScreenStart" when exactly? because that event is not part of race.
  3. Castillo

    HELP

    Client side created vehicles won't work, you can't enter on them.
  4. Castillo

    Movable Images

    Is an event, not a function. You're welcome.
  5. One problem at this line: aclGroupAddObject (aclGetGroup("Vip"), "user."..accountName)) You have an extra ")" at the end, should be: aclGroupAddObject ( aclGetGroup ( "Vip" ), "user.".. accountName )
  6. Remove "source" from function name.
  7. First argument of triggerServerEvent is the event name.
  8. Maybe you have another script running which also saves/loads weapons?
  9. Castillo

    HELP My_SQL

    Are you sure that the table exists?
  10. Yes, use: aclGetGroup aclGroupAddObject
  11. That error appears because the client side is not yet loaded for when the player joins. Do this: on the client side, create a function which will be executed with the event: "onClientResourceStart", then trigger a server side event, which will do your check.
  12. GUIEditor is only used to create/edit the interface, nothing else.
  13. Castillo

    help

    Either your texture names are wrong, or your shader isn't good.
  14. Castillo

    Movable Images

    What about this event? https://wiki.multitheftauto.com/wiki/On ... IMouseDown It even has an example related to what you are doing, with this and some basic maths, you can turn your image into something like a window.
  15. To me, it looks like you stole it, without proof of having permission to use it, I'll have to lock the topic and remove the script.
  16. So, you stole the script from FFS server?
  17. Castillo

    [WIP]MTAM

    Yes, of course it'll be for free, but no idea about when it'll be finished.
  18. thePlayer is not defined anywhere, also, jetpack functions are server side only.
  19. This script is even yours? because I see "ffs" all over it, sounds like it's a FFS server script.
  20. Al spawnear el jugador, verifica su skin, si el skin es el apropiado, dales vida extra.
  21. You've got some problems there, they all appear on debugscript. -- client side: theWindow = guiCreateWindow(420, 210, 433, 320, "Jetpack giver By Robbster", false) guiWindowSetSizable(theWindow, false) theButton = guiCreateButton(122, 123, 188, 87, "Give yourself Jetpack", false, theWindow) guiSetVisible(theWindow,false) function openWin() if guiGetVisible(theWindow) then guiSetVisible(theWindow, false) showCursor(false) else guiSetVisible(theWindow, true) showCursor(true) end end bindKey("F5", "down", openWin) function giveJetpack () triggerServerEvent ( "givejet", getLocalPlayer() ) --try root or source if no work end addEventHandler ( "onClientGUIClick", theButton, giveJetpack, false ) -- server side: function Jetpackgiver ( ) givePedJetPack ( source ) end addEvent( "givejet", true ) addEventHandler( "givejet", getRootElement(), Jetpackgiver )
×
×
  • Create New...