Jump to content

TorNix~|nR

Members
  • Posts

    503
  • Joined

  • Last visited

Everything posted by TorNix~|nR

  1. Hi everyone, I have a panel of giving a team so I make a give skin in panel, I need to disable giving skin if a player is not in the team, check my code: function Skinc (sourcee1) local playerr = getPlayerFromName(sourcee1) if getPlayerTeam(playerr, "Militar") then outputChatBox (getPlayerName(playerr) .. ' is not Militar Member!', source, 255, 0, 0 ) return end setElementModel ( playerr, 17 ) outputChatBox (getPlayerName(playerr) .. ' #00FF00Has been giving a Militar Skin', source, 255, 0, 0) outputChatBox (getPlayerName(source) .. ' #00FF00Has been giving a Militar Skin', playerr, 255, 0, 0 ) end addEvent( "Skinc", true) addEventHandler( "Skinc", getRootElement(), Skinc )
  2. I need to make multi language for panels, messages... etc
  3. hi everyone, can anyone tell me how can I make 3 language in my server please? for exp: my server language is English, I need to Add english,frensh,arabic,spanish... etc
  4. TorNix~|nR

    httpdownloadurl

    hello everyone I make a httpdownloadurl in a site, this is the site *******.****.net/mta/ I add files in /public_html/mta/mods/deathmatch/resource-cache/http-client-files and I add this in mtaserver.conf http://*******.****.net/mta/ my MB server are: 54, when I join it be 108 and it stops in 54 I do not know why it be x2 help!!
  5. I will remove it, any way, thanks
  6. hello everyone I make a httpdownloadurl in a site, this is the site *******.****.net/mta/mods/deathmatch/resources/ and I add this in mtaserver.conf http://*******.****.net/mta/mods/deathmatch/resources/ why does it not work? help
  7. the problem is not in r,g,b :3
  8. is this script downloads mods after the first download??
  9. function Invitar (source) local favteam = getTeamFromName("D.S.K") local player = getPlayerFromName(source) if (favteam) then setElementData(player, favteam) outputChatBox (getPlayerName(player) .. ' #00FF00Ha sido invitado a DSK', source, r, g, b, true ) outputChatBox (getPlayerName(source) .. ' #00FF00Se ha cambiado a DSK', player, r, g, b, true ) else cancelEvent() outputChatBox ( "", thePlayer, 0, 245, 82, true ) end end addEvent( "Invitar", true) addCommandHandler ( "accept", Invitar ) help !!
  10. Hello everyone, I have my panel of make a player in team when I invite a player in team, he automaticlly join to the team, I need to make a anti spam like this: I need when I invite him, he needs to say /acceptclan for join the team, anyone help me? function Invitar (source) local favteam = getTeamFromName("Police") local player = getPlayerFromName(source) if (favteam) then setPlayerTeam(player, favteam) outputChatBox (getPlayerName(player) .. ' #00FF00has been invited to Police', source, r, g, b, true ) outputChatBox (getPlayerName(source) .. ' #00FF00has changed to Police', player, r, g, b, true ) else cancelEvent() outputChatBox ( "", thePlayer, 0, 245, 82, true ) end end addEvent( "Invitar", true) addEventHandler( "Invitar", getRootElement(), Invitar )
  11. Thanks for everyone , I use UTF-8 and it works fine
  12. TorNix~|nR

    Symbols

    hello everyone, for example I use this in a serverside or in a compiled script outputChatBox("Héllô", source, 255, 0, 0, true) when I start script, it says problem of symbols..., how can I use extra codes?
  13. if you need to remove the colors in chat and in server use this addEventHandler ( "onPlayerConnect", getRootElement(),function(nick) if(string.find(nick,"#%x%x%x%x%x%x"))then cancelEvent(true,"Remove your name colors for join the IP") end end) addEventHandler ( "onPlayerConnect", getRootElement(),function(nick) if(string.find(nick,"##%x%x%x%x%x%x"))then cancelEvent(true,"Remove your name colors for join the IP") end end) addEventHandler ( "onPlayerChat", getRootElement(),function(nick) if(string.find(nick,"#%x%x%x%x%x%x"))then kickPlayer(source, getRootElement(), "Do not use colors in Chat!") end end) addEventHandler ( "onPlayerChat", getRootElement(),function(nick) if(string.find(nick,"##%x%x%x%x%x%x"))then kickPlayer(source, getRootElement(), "Do not use colors in Chat!") end end)
  14. TorNix~|nR

    Removed!

    Removed!
  15. I use it, but not work
  16. just I need when player join download for example 20MB and when player login, he stars download the other files
  17. I have my vps ! and I have my server is zombie!
×
×
  • Create New...