Jump to content
  • 0

Cum fac un Spawn?


gabydemocray

Question

4 answers to this question

Recommended Posts

Daca folosesti un Mod RolePlay descarcat faci asa: Deschizi Gm-ul, CTRL+F si cauti public SetPlayerSpawn mai jos de asta o sa ai Spawnu la fiecare factiune, de exemplu cum e asta:

if(PlayerInfo[playerid][pLeader] == 7)//Mayor spawn
		{
		    SetPlayerToTeamColor(playerid);
		    SetPlayerInterior(playerid, 3);
		    SetPlayerPos(playerid, 356.2998,151.9914,1025.7891);
		    PlayerInfo[playerid][pInt] = 3;
			PlayerInfo[playerid][pLocal] = 241;
		    return 1;
		}
Ca sa schimbi spawnul modifici la SetPlayerPos  cu noile tale coordonate [unde vrei sa fie spawnata factiunea] - Iar pentru Spawn Civil adaugi la OnPlayerConnect
 SetPlayerPos(playerid, coord-x,coord-y,coord-z);

Sper ca te-am ajutat,daca mai ai intrebari poti intreba.

 

 

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.