15.05.2013, 13:48
Hmm..so for example if i need to check many things i do something like this;
Is it bad to have so many if's ? i try to narrow it down but mostly im not sure what is best
pawn Код:
if(IsPlayerInRangeOfPoint(blablabla))
{
if(GetPlayerState(playerid)== blabllablala)
{
if(GetPlayerWeaponSkill bla bla blaaah
{
if(blaaaaaaa )
{
(and so on)
}
else
{
blablabla
}
}
}
}