20.05.2012, 00:56
Na mesma ocasiгo do CriarObjetosEvento2
pawn Код:
if(PlayersEvento > 1)
{
EventoLiberado = false;
foreach(Player, pid)
{
if(IsPlayerConnected(pid))
{
if(pEntrarEvento[pid])
{
CriarObjetosEvento1(pid);
new randomvar = random(5), randomvar2 = random(5), randomvar3 = random(3);
SetPlayerPos(pid, 4105.1049 + randomvar,-1871.5346 + randomvar2,4.3541 + randomvar3);
pEntrarEvento[pid] = false;
pNoEvento[pid] = true;
}
}
}