08.03.2012, 15:57
Ireis editar aqui e jб dou um @EDIT
@EDIT
Aqui estб:
Base:
https://sampforum.blast.hk/showthread.php?tid=162488
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
@EDIT
Aqui estб:
pawn Код:
//Topo do GM/FS:
new Float:RandomSpawnsCheck[][] =
{
{1249.7258, -2047.9263, 59.9209}, // CheckPoint 1
{1241.2084, -2057.6521, 60.0190}, // CheckPoint 2
{1241.0105, -2052.6873, 59.9975}, // CheckPoint 3
{718.4906, -1477.3024, 5.4688}, // CheckPoint 4
{722.3772, -1477.2856, 5.4688} // CheckPoint 5
};
// No seu Comando:
new Random = random(sizeof(RandomSpawnsCheck));
SetPlayerCheckpoint(playerid, RandomSpawnsCheck[Random][0], RandomSpawnsCheck[Random][1], RandomSpawnsCheck[Random][2], 3.0);
https://sampforum.blast.hk/showthread.php?tid=162488
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint