[AJUDA] Tempo para os comandos (Teleport)
#10

Ele ta assim :

// --- [no topo] --- //

new Float:RandomSpawns[8][8] = {
{-2442.7869,749.5129,35.1786},
{-2027.5011,-43.5853,38.8047},
{-1881.2325,-831.0626,32.0234},
{-2292.8062,180.9209,35.3125},
{-2507.9167,1106.4122,55.7046},
{-1753.8597,939.8560,24.8906},
{-2621.9512,1407.3934,7.1016},
{-1414.7089,-149.2586,14.1484}
};


// ------[Comando]-------- //

if(strcmp(cmd, "/sf", true) == 0)
{
SetPlayerInterior(playerid,0);
new rand = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[rand][0], RandomSpawns[rand][1], RandomSpawns[rand][2]);
SetPlayerFacingAngle(playerid,15);
}

(Eu removi o comando q o roginho_97 mais й igual aquele q preciso)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)