Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. You can send them using triggerServerEvent.
  2. You are using "wnd" as variable name, but is "GUIEditor.window[1]". Also, guiSetVisible has to go after guiCreateWindow.
  3. Castillo

    Duda.

    No, no podes activar los juegos esos.
  4. To make a custom download system you can use fetchRemote, if you use it client side, it'll only work if you use the same host as the server.
  5. You can use the "level" element data when they attempt to enter a vehicle. Use the event: onVehicleStartEnter and the function: getElementData
  6. That has nothing to do with what he asked, don't reply if you can't help.
  7. dxDrawText ( getTeamName ( addedTeams [ 1 ] ) .." (".. alivept [ getTeamName ( addedTeams [ 1 ] ) ] ..")", x - 175, (y/5.65)+13, x, y, tocolor(255, 255, 255, 255), 1.05, 'default-bold', "left", "top", false, false, false, true ) dxDrawText ( getTeamName ( addedTeams [ 2 ] ) .." (".. alivept [ getTeamName ( addedTeams [ 2 ] ) ] ..")", x - 375, (y/5.65)+13, x, y, tocolor(255, 255, 255, 255), 1.05, 'default-bold', "left", "top", false, false, false, true ) That may show the alive players, but about points, no idea, is your script, you should know how it works.
  8. No, you can't redirect a player to a website.
  9. dxDrawText ( getTeamName ( addedTeams [ 1 ] ), x - 175, (y/5.65)+13, x, y, tocolor(255, 255, 255, 255), 1.05, 'default-bold', "left", "top", false, false, false, true ) dxDrawText ( getTeamName ( addedTeams [ 2 ] ), x - 375, (y/5.65)+13, x, y, tocolor(255, 255, 255, 255), 1.05, 'default-bold', "left", "top", false, false, false, true )
  10. Well, you'll have to post the entire script, or send it over PM.
  11. That's why I'm asking, where is that code you posted located? is it in server.lua?
  12. Yes, change that "1" to "0" and it'll keep repeating every 10 seconds. But, you'll have to kill the timer after they leave the area.
  13. dxDrawText ( addedTeams [ 1 ], x - 175, (y/5.65)+13, x, y, tocolor(255, 255, 255, 255), 1.05, 'default-bold', "left", "top", false, false, false, true ) dxDrawText ( addedTeams [ 2 ], x - 375, (y/5.65)+13, x, y, tocolor(255, 255, 255, 255), 1.05, 'default-bold', "left", "top", false, false, false, true )
  14. Well, just increase the timer time then? because you set it to 1 second. setTimer ( Destroy , 1000, 1, element ) Change that 1000 to 10000 for 10 seconds.
  15. What that error means is that the function is not defined.
  16. Castillo

    help me

    The thing is, I really don't get what are you trying to do.
  17. On which script are you executing the "loadMapInfoAll" function?
  18. I highly doubt that's efficient at all.
  19. I don't understand what do you mean, if you want to draw every team on a different text, then just do it?
  20. That's right, in future releases, the scripts compiled by a compiler which isn't the MTA one, won't work.
  21. Well, if you want to save the data even when they quit, then you can use these.
×
×
  • Create New...