[HELP] Random Spawn
#6

Quote:
Originally Posted by TheGarfield
Посмотреть сообщение
pawn Код:
new Float:dm_spawn[4][3]= {
{Coordinits_X,Coordinits_Y,Coordinits_Z},
{Coordinits_X,Coordinits_Y,Coordinits_Z},
{Coordinits_X,Coordinits_Y,Coordinits_Z},
{Coordinits_X,Coordinits_Y,Coordinits_Z}
};
4 Number of cordinits
3 Parвmeters(X,Y,Z);

OnCommand
pawn Код:
SetPlayerPos(playerid, dm_spawn[random(sizeof(dm_spawn))][0],dm_spawn[random(sizeof(dm_spawn))][1],dm_spawn[random(sizeof(dm_spawn))][2]);

abs~
that would work but 2+ players can spawn in the same place at the same time !
Reply


Messages In This Thread
[HELP] Random Spawn - by System64 - 04.05.2011, 19:55
Re: [HELP] Random Spawn - by BigETI - 04.05.2011, 20:16
Re: [HELP] Random Spawn - by System64 - 04.05.2011, 20:46
Re: [HELP] Random Spawn - by BigETI - 04.05.2011, 21:12
Re: [HELP] Random Spawn - by TheGarfield - 04.05.2011, 21:51
Re: [HELP] Random Spawn - by park4bmx - 04.05.2011, 22:01
Re: [HELP] Random Spawn - by BigETI - 04.05.2011, 23:00
Re: [HELP] Random Spawn - by System64 - 05.05.2011, 06:48
Re: [HELP] Random Spawn - by BigETI - 05.05.2011, 11:32
Re: [HELP] Random Spawn - by System64 - 05.05.2011, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)