02.03.2009, 15:37
Code:
public OnPlayerSpawn(playerid) //Ten Public Odpowiada za Spawn { return 1; } forward SetPlayerRandomSpawn(playerid); public SetPlayerRandomSpawn(playerid) { new rand = random(sizeof(Spawny)); SetPlayerPos(playerid, Spawny[rand][0], Spawny[rand][1], Spawny[rand][2]); // SetPlayerFacingAngle(playerid, 88.0); return 1; }