Rank system
#7

a timer as in timer like?
PHP код:
task twosecondtimer[2000]()
{
    
//all your functions here.

That's unethical in a way because you could just trigger a function on OnPlayerDeath that checks the achievements.
just like what X337 said

Quote:
Originally Posted by X337
Посмотреть сообщение
You don't need to use timer for that, if a player is killed it will trigger OnPlayerDeath callback.
PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
       
CheckPlayerKills(killerid); //but you'll still need codes inside this to make it work. No way around it
       
return 1;

simplifying it would need to use switch-case
Reply


Messages In This Thread
Rank system - by Loinal - 16.02.2017, 13:10
Re: Rank system - by Hansrutger - 16.02.2017, 13:13
Re: Rank system - by Loinal - 16.02.2017, 13:44
Re: Rank system - by JesterlJoker - 16.02.2017, 13:52
Re: Rank system - by Loinal - 16.02.2017, 13:55
Re: Rank system - by X337 - 16.02.2017, 13:57
Re: Rank system - by JesterlJoker - 16.02.2017, 14:23
Re: Rank system - by Loinal - 16.02.2017, 15:47
Re: Rank system - by JesterlJoker - 16.02.2017, 15:57
Re: Rank system - by Loinal - 16.02.2017, 17:08

Forum Jump:


Users browsing this thread: 5 Guest(s)