17.11.2010, 16:17
pawn Код:
new pRandom = random(sizeof(SFRandom));
SetPlayerPos(playerid,SFRandom[pRandom][0],SFRandom[pRandom][1],SFRandom[pRandom][2]);
This code lags up the onplayerspawn for player, i set up one place to spawn and it worked fine, but as i want him to spawn in some random place i defined, it lags up and then spawns, any ideas why?