Problem with loadiron command.
#2

Quote:
Originally Posted by R4mpage
Посмотреть сообщение
pawn Код:
IsPlayerInRangeOfPoint(playerid,2.0,-2454.5771,2254.1755,4.9802);

you have to put it in an "if statement"
esample:

PHP код:
if(IsPlayerInRangeOfPoint(playerid,2.0,-2454.5771,2254.1755,4.9802))//this is when he's in range of that point

//do something
}
if(!
IsPlayerInRangeOfPoint(playerid,2.0,-2454.5771,2254.1755,4.9802))//and this with the " ! " when hes not

//do something
}
//or just:
if(IsPlayerInRangeOfPoint(playerid,2.0,-2454.5771,2254.1755,4.9802))//this is when he's in range of that point

//do something
}
else
//when the first condition equals "false"
{
//do something when hes not

Reply


Messages In This Thread
Problem with loadiron command. - by R4mpage - 25.12.2013, 14:10
Re: Problem with loadiron command. - by CutX - 25.12.2013, 14:12
Re: Problem with loadiron command. - by PrivatioBoni - 25.12.2013, 14:14
Re: Problem with loadiron command. - by R4mpage - 25.12.2013, 14:16
Re: Problem with loadiron command. - by CutX - 25.12.2013, 14:23
Re: Problem with loadiron command. - by Sanady - 25.12.2013, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)