Jump to content
  • 0




2 answers to this question

Recommended Posts


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





{-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


//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


Link to comment
Share on other sites

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.