Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 23/06/20 in all areas

  1. https://github.com/Vadya963/50pSublimeText3Package download from here you can read how to install it below
    1 point
  2. onPlayerCommand pode sobrecarregar além do esperado o servidor/arquivo de log; se for um server com 300 player pra cima, acho que o dono deve pensar bem antes de fazer um log com esse evento, embora eu nunca tenha feito testes então não sei qual as reais consequências. Se optar por utilizar: tenha em mente também que esse evento é chamado mesmo que tal comando não exista no jogo; fazer uma verificação com wasEventCancelled e definir um cooldown na execução para cada jogador.
    1 point
  3. A diferença é que o onPlayerChat só é chamado quando uma mensagem é enviada, seja ela pelo /say, /teamsay ou /me. Enquanto o outro é chamado em todos os comandos, inclusive de chat.
    1 point
  4. @Pedro861, ele quer setar a skin somente em quem usar o comando /skin, no caso ele mesmo. Desse jeito que vc colocou vai setar a skin em todo mundo que for Admin. Do jeito que o @DNL291 fez é o correto, se o jogador que usar o comando não for do EB, mostra a mensagem de erro em vermelho. Caso contrario, seta a skin nele. Outro jeito de fazer, que no fim das contas é a mesma coisa, pode ser assim: function darSkin (thePlayer) local nomeAcc = getAccountName (getPlayerAccount (thePlayer)) --Variável 'nomeAcc' recebe a conta de quem executou o comando. (no caso, a sua conta) if isObjectInACLGroup ("user."..nomeAcc, aclGetGroup("EB")) then --Se o jogador que executou o comando estiver na ACL "EB", faz o seguinte: setElementModel (thePlayer, 287) --Coloca skin 287 nele. else --Se não estiver na ACL "EB", faz o seguinte: outputChatBox ("Somente membros do #00BB00Exercito Brasileiro#FF0000 podem pegar a skin!", thePlayer, 255, 0, 0, true) --Manda isso em vermelho, onde "Exército Brasileiro" fica em verde e o resto vermelho. Manda isso somente para quem executou o comando. end --Finaliza o If e o Else. end --Finaliza a função darSkin. addCommandHandler ("skin", darSkin) --Executa essa função quando alguém usa o comando /skin. Qualquer dúvida, volte a perguntar. Boa sorte.
    1 point
  5. 5Station | فايف ستيشن ندعم طرق دفع : التحويل البنكي - سوا - باي بال تفعيل سريع خلال 3 ساعات تنويه : هذا الموضوع لعرض الخصومات والعروض الخاصة بالموقع بس https://5Station.net : رابط الموقع
    0 points
  6. Ok, this was a hard decision to take (regarding privacy and drama), but because we noticed that you made a video in which you're implying MTA made a bad decision, we will now offer some more transparency towards the community to reveal what we suspect you, TheVarus, of doing: See below picture Mirrors (you're probably going to want it gone): Since you have also spread the link to this ban appeal by yourself, I hope this will let your 'blind followers' (who believe your "my serial has been with me for 5 years" claim is something that proves you're right with everything) look at our side of the story as well. Even though the botting and mass serial-changing involvement (which the MTA anti-cheat was fully aware of, and linked back to you) is already enough to permaban you, for the scale of it, lord knows what the things we feel are really going on with your manipulation of the Polish MTA scene would mean for your ban. At least 1 thing is clear, that you won't return, and that there are very good reasons for it. By the way, MTA now made sure your serial changing method no longer works, so you can no longer uphold your botting industry, which in turn (as we can reasonably assume) funds your virtual currency sales industry from the 'mining' proceeds, etcetera etcetera. All to destabilize the 4Life / PyLife ingame economy to benefit the kickstart of your own server. We will protect these MTA communities against someone like you, striving to use their influence for such dirty games.
    0 points
×
×
  • Create New...