Range of point help
#9

For(new I; i< sizeof(RandomMoneyBoxVzimane); i++)
(
if (IsPlayerInRangeOfPoint(playerid, 3.0, RandomMoneyBoxVzimane[0], RandomMoneyBoxVzimane[1], RandomMoneyBoxVzimane[2]))
{
PlayerInfo[playerid][pKufar] = 1;
Kufar = 1;
Moneybox = 0;
format(string2, sizeof(string2), "Moneybox: %s âçå êóôàðà!",PlayerName(playerid));
SendClientMessageToAll(COLOR_GREEN, string2);
SendClientMessage(playerid,COLOR_GREEN,"Òè âçå êóôàðà ñåãà òðÿáâà äà ãî äîñòàâèø!");
DisablePlayerCheckpoint(i);
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(i, MB2, 3.0);
SetPlayerCheckpoint(playerid, MB2, 3.0);

}
)
Еще можешь сделать break в вконце цикла, я просто до конца не понял что тебе нужно)
Reply


Messages In This Thread
Range of point help - by dundolina - 15.05.2015, 22:54
Re: Range of point help - by JaydenJason - 15.05.2015, 23:05
Re: Range of point help - by Abagail - 15.05.2015, 23:29
Re: Range of point help - by Luis- - 15.05.2015, 23:31
Re: Range of point help - by dundolina - 15.05.2015, 23:44
Re: Range of point help - by dundolina - 16.05.2015, 08:17
Re: Range of point help - by Smileys - 16.05.2015, 08:20
Re: Range of point help - by Logofero - 16.05.2015, 09:08
Re: Range of point help - by KeNTos - 16.05.2015, 13:46
Re: Range of point help - by Logofero - 16.05.2015, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)