Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. if (tonumber(money > 0)) and (tonumber(money < 7000)) then Change to: if ( tonumber ( money ) and tonumber ( money ) > 0 and ( tonumber ( money ) < 7000 ) ) then
  2. And where is the part where it gives the money when you hit the pickup?
  3. Castillo

    script downloading

    https://wiki.multitheftauto.com/wiki/Se ... our_server
  4. Something else is triggering that event then.
  5. I guess "onClientDXClick" is being triggered twice then.
  6. You mean it doesn't create the marker and blip?
  7. Do you get any error in the debugscript? which part doesn't work?
  8. This will trigger even when a remote player enters a vehicle, you need to check if 'thePlayer' is the local player.
  9. Well, the first mistake is that 'thePlayer' is not defined, also, you are using a server side event with client side only functions.
  10. Castillo

    Funcion

    A que te referis por "la posicion de los players"?
  11. Castillo

    Funcion

    Los blips los creas vos, no vienen por defecto en el MTA. Que game mode usas?
  12. Castillo

    Help?

    It's because these tables don't exist, you should change them to this: GUIEditor.button GUIEditor.label GUIEditor.image GUIEditor.window Etc.
  13. Castillo

    Help?

    Well, you obviously have some error? try checking if the event is being triggered ( add some debug outputs in the client side ).
  14. Great job! I noticed a bug so far: If you click "Outline" in a relative DX rectangle, it outputs it using absolute positions.
  15. You must remove these lines, since getTeamColor already returns numbers, so there's no need to convert numbers to numbers.
  16. Podrias usar onVehicleDamage y getElementHealth, y cuando la vida del auto este al 300%, es que esta apunto de explotar, y ahi podrias ponerle "godmode" con setVehicleDamageProof.
  17. Then, I guess "data" is not "sick".
  18. This will only set the animation/take the item if data is equal to "sick".
×
×
  • Create New...