[Ajuda] Random
#3


tenta assim:
pawn Код:
//no topo do gm:

new Float:mychec[3][3] =
{
{X, Y, Z}, // substitui, o x,y,z pelas coordenadas que vc quer.
{X, Y, Z},  // substitui, o x,y,z pelas coordenadas que vc quer.
{X, Y, Z} // substitui, o x,y,z pelas coordenadas que vc quer.
};

// no comando:
new rand;
rand = random(sizeof(mychec));
SetPlayerCheckpoint(playerid, mychec[rand][0], mychec[rand][1], mychec[rand][2],6.0);
Reply


Messages In This Thread
[Ajuda] Random - by Rick_DR - 19.03.2012, 02:29
Re: [Ajuda] Random - by Lucas_Alemao - 19.03.2012, 02:33
Re: [Ajuda] Random - by steeldark - 19.03.2012, 02:41
Re: [Ajuda] Random - by ViniBorn - 19.03.2012, 02:41
Re: [Ajuda] Random - by Rick_DR - 19.03.2012, 02:50

Forum Jump:


Users browsing this thread: 2 Guest(s)