Sobre un derby
#4

pawn Код:
new Float:PosicionesRandom[][]={
    {0.0, 0.0, 0.0},
    {0.0, 0.0, 0.0},
    {0.0, 0.0, 0.0},
    {0.0, 0.0, 0.0}
    //etc ...
};

new rand = random(sizeof(PosicionesRandom));
SetPlayerPos(playerid, PosicionesRandom[rand][0], PosicionesRandom[rand][1], PosicionesRandom[rand][2]);
https://sampforum.blast.hk/showthread.php?tid=162488
https://sampwiki.blast.hk/wiki/Random


pawn Код:
new Posiciones;
new Float:PosicionesRandom[][]={
    {0.0, 0.0, 0.0},
    {0.0, 0.0, 0.0},
    {0.0, 0.0, 0.0},
    {0.0, 0.0, 0.0}
    //etc ...
};

SetPlayerPos(playerid, PosicionesRandom[Posiciones][0], PosicionesRandom[Posiciones][1], PosicionesRandom[Posiciones][2]);
Posiciones++;
Reply


Messages In This Thread
Sobre un derby - by Pipe98 - 25.10.2014, 15:53
Re: Sobre un derby - by jurgen - 25.10.2014, 16:18
Respuesta: Sobre un derby - by aoEXE - 25.10.2014, 23:44
Respuesta: Sobre un derby - by OTACON - 25.10.2014, 23:55
Respuesta: Sobre un derby - by aoEXE - 26.10.2014, 00:07
Respuesta: Sobre un derby - by OTACON - 26.10.2014, 00:09
Respuesta: Sobre un derby - by DesingMyCry - 26.10.2014, 05:59
Respuesta: Sobre un derby - by OTACON - 26.10.2014, 06:11
Re: Sobre un derby - by LiMPiTo - 26.10.2014, 11:57
Respuesta: Sobre un derby - by DesingMyCry - 26.10.2014, 13:16
Respuesta: Sobre un derby - by jotajeda - 01.12.2014, 22:15

Forum Jump:


Users browsing this thread: 1 Guest(s)