Jump to content
  • 0

Ajutor


Mr.Kiss

Question

2 answers to this question

Recommended Posts

pai...

pui new asta:D

[pawn]new Float:gRandomPlayerSpawns[6][0] = {

{403.447265,2466.154296,16.506214},//aa astai pt aa tu pui pt care vrei tu coordonatele

{-1325.8376,-269.6708,14.1484},//sfair

{1288.1819,1276.7617,10.8203},//lvair

{1940.7784,-2354.7644,13.5469},//lsair

{-299.2184,1777.2996,42.6875},//drift

{-2638.8489,1360.6714,7.1384} //jizzy

};

//pui forwardu

forward SetPlayerRandomSpawn(playerid);

//dupa mergi la onplayerspawn si pui((daca vrei poti pune si la onplayerconnect daca vrei cand se connecteaza playeru sa il spawneze acolo

SetPlayerRandomSpawn(playerid);

//dupa pui publicul

public SetPlayerRandomSpawn(playerid)

{

    if (iSpawnSet[playerid] == 0)

    {

new rand = random(sizeof(gRandomPlayerSpawns));

SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player

}

return 1;

}

//sper ca ai inteles:D

[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.