Randomize Point Profit
#7

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
Onplayerconnect.
Код:
if( ) //The codes if the player is at captured point
{
SET TIMER HERE example the timer name is captured
}
if() //not captured
{
set value here by a new enum let it be 1
}

In the timer captured :
If() the new enum value is 1
{
killtimer
}
I was clear I guess. I am on phone.

//edit : you may even put the codes under onplayerspawn ( more efficient is suggest this )
If for example I do this per 10 minutes
Shouldn't I do it on OnGameModeInit and loop the timer ?
So even tho when the point is captured it will start adding money only when the next check is executed I don't really have a problem with that.
Reply


Messages In This Thread
Randomize Point Profit - by NeXoR - 30.03.2016, 15:16
Re: Randomize Point Profit - by Threshold - 30.03.2016, 15:32
Re: Randomize Point Profit - by NeXoR - 30.03.2016, 15:43
Re: Randomize Point Profit - by fuckingcruse - 30.03.2016, 16:02
Re: Randomize Point Profit - by NeXoR - 30.03.2016, 16:12
Re: Randomize Point Profit - by fuckingcruse - 30.03.2016, 16:16
Re: Randomize Point Profit - by NeXoR - 30.03.2016, 16:26
Re: Randomize Point Profit - by fuckingcruse - 30.03.2016, 16:39
Re: Randomize Point Profit - by -CaRRoT - 30.03.2016, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)