السلام عليكم ورحمة الله تعالى وبركاته, كيف الحال؟ إن شاء الله بخير اليوم معنا الفيديو الخاص بالسيرفر فخامة :-
الاهدائات@Ahmed_Negm@Master_MTA@iiKhaled@!#NssoR_)@#ibrahim@*[email protected]@[email protected]@#StrOnG_,)@Abu-Solo@#Soking@The Killer@#[K]aTakuRI-,?@Sha67@Ahmed Ly@TAPL @MrKAREEM فأمان الله
Hi everyone. I want to share some of my resources. For almost 8 years I have been working on various projects in the MTA and over the years there has been an archive of resources and scripts. Maybe for someone it will be useful and interesting.
Consists:
•Terrain editor(in two editions). In-game terrain editing system. Video
•Dynamic grass. Video
•Light baking and rendering system(with DFF or distributed) Video
•Models loader(DFF/TXD/COL) that can download and stream-in only those that are within a certain radius from the player
•Two version of the TEDERIs Construction Tools(with FlowGraph or Wire) Video
•Particle system(natively DFF or through dxDraw* fns) Video
•Blank for RP gamemode and more
•And more
All this can be found on GitHub
Notice! Many resources have been created for a long time and likely they require some adaptation for the new version of the MTA.
addEventHandler("onResourceStart", root,
function()
tst = createTeam( "tst", 255, 0, 0 )
end
)
addCommandHandler("m",
function( player )
local Team = getPlayerTeam( player )
if Team and Team == tst then
setPedAnimation(player, "dancing", "dan_up_a")
end
end
)
Você quer que o jogador perca uma quantidade predeterminada quando usar o comando? Ou vc quer que ele informe junto com o comando a quantidade a ser retirada?
addCommandHandler
takePlayerMoney
Ex:
addCommandHandler( "g",
function ( splayer )
takePlayerMoney( splayer, valor )
end
)
Esse código é do lado server.
No creo que 'tab' este definido en el freeroam ya que el ninguna parte del panel existe una sección que usen TABs. Lo mejor que puedes hacer es la ventana a parte y hacer que cuando se aprete el botón se llame a la función que muestra o deja de mostrar esa ventana.
Igualmente no entiendo el por qué utilizas el panel del freeroam para armar todo eso, pero bueno, suerte.