Olá galera, estou com problema com o reload do meu servidor.. Até achei um script na internet, porém não funciona. Alguém teria esse script pra me ajudar?
@Blaawee i want to set the ids in a array, for example: arrayWeapon = { 8, 24, 28} / arrayAmmo = { 100, 200, 300} and unpack it on "getWeaponIDFromName( weapon )" and "tonumber( ammo )". But i don't know how.. Im new on lua
The script loads fine,
start: Resource 'kitarmas' started
but dont show
'You have to wait '.. timeToWaitFor..' second'
or
'Syntex /kitarmas [weapon] [ammo]'
and don't give anny gun ;s
I already put the weapon/ammo id.
Hello, i need help to create a script with time to use. If i use the command "/command" i have to wait "x" seconds to use it again. Ex:
addCommandHandler("kitarmas", true)
giveWeapon(source, 4, 200, true)
giveWeapon(source, 24, 200, true)
end
Thx and sorry for my bad english.
Olá. Gostaria de pedir a ajuda de vocês para criar um comando que tenha tempo para usar. Ex: o player digita "/comando" e só pode usar o comando novamente depois de 1 minuto.
No caso gostaria pra dar alguns items como:
addCommandHandler("kitarmas", true)
giveWeapon(source, 4, 200, true)
giveWeapon(source, 24, 200, true)
end