War system
#7

Quote:
Originally Posted by Fiore
Посмотреть сообщение
so i just:

pawn Код:
new IsWar;

if(IsWar == false)
{
// something here
}
right?
First of all, IsWar should be defined as a boolean:
pawn Код:
new bool: IsWar;
Second, yes, this is correct but it's useless. You should value IsWar somewhere first. For example, if some command is executed, IsWar = true, and so on.
Reply


Messages In This Thread
War system - by Fiore - 20.01.2013, 16:15
Re: War system - by LarzI - 20.01.2013, 16:17
Re: War system - by [XST]O_x - 20.01.2013, 16:17
Re: War system - by Fiore - 20.01.2013, 16:20
Re: War system - by [XST]O_x - 20.01.2013, 16:22
Re: War system - by Fiore - 20.01.2013, 16:30
Re: War system - by [XST]O_x - 20.01.2013, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)