View Single Post
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-01-2018 , 10:58   Re: CS Battle Royale [BETA]
Reply With Quote #5

Quote:
Originally Posted by iceeedr View Post
PHP Code:
[bp]
EMERGENCY_DROP Drop de emergencia!
AIRDROP_ARRIVED O airdrop aterrissouva pegar!
TAKE_ITEM_MEDKIT Voce recebeu %d de HP usando o kit Medico.
TAKE_ITEM_DRINK Voce recebeu +%d de HP bebendo o Drink.
ADDED_ITEM_BACKPACK = %s foi adicionado a sua mochila.
CANT_TAKE_MEDKIT Voce nao pode usar o kit medico quando sua HP e maior ou igual a %d.
CANT_TAKE_DRINK Voce nao pode usar o Drink quando sua HP e maior ou igual a %d.
ROUND_WINNER = ~ Ganhador do RoundTime %~
YOUR_TEAM_PLACED = ~ Colocacao do seu time#%d ~
ROUND_STARTS_IN AtencaoO round comeca em %d segundo%s
ZONE_APPEARS 
A zona vai aparecer em %d segundos.
ZONE_TIGHTEN A zona comecou a fechar.

HUD_YOUR_TEAM Seu time:
HUD_INFO = | ** Seu time: %** |^n| ** Times Restantes: %** |^n| ** Players vivos: %** |^n| ** Seus kills: %** | 
Thanks!

Quote:
Originally Posted by HamletEagle View Post
I see you have remove_entity_name on weaponbox. This calls remove_entity, and creates a leak. It will destroy the box, without the weapons from the box, as I explained before.
call_think is the proper way.

Also please avoid declaring variables in a loop.
Done.

I should also delete remove_entity_name("armoury_entity") from NewRound/RoundEnd and put it in plugin_init, right?
__________________

Last edited by edon1337; 08-01-2018 at 11:25.
edon1337 is offline