21.11.2009, 16:39
well i know how to make random teleport but how can i make random spawn, when you spawn you get on a random place?
new randspawm=random(5);
switch(randspawn)
{
case 0:SetPlayerPos(playerid, X1, Y1, Z1);
case 1:SetPlayerPos(playerid, X2, Y2, Z2);
case 2:SetPlayerPos(playerid, X3, Y3, Z3);
case 3:SetPlayerPos(playerid, X4, Y4, Z4);
case 4:SetPlayerPos(playerid, X5, Y5, Z5);
case 5:SetPlayerPos(playerid, X6, Y6, Z6);
case 6:SetPlayerPos(playerid, X7, Y7, Z7);
}