Jump to content
  • 0

Problema Spawn..


TzAkS

Question

Salut..Am o problema cu spawn-ul,in orice factiune as fi..imi dau respawn si ma da la spawn civili,si daca pun de exemplu ca vreau sa ma dea in SF..ma da prima data cand intru in joc dar dupaia daca imi dau respawn ma da la spawn civili din LS unde ma da si daca sunt in factiune..am incercat mult sa repar chestia asta dar nu am reusit..modu este unu de pe net..deci unde sa caut?ce sa schimb?

gXvsYS
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

dai ctrl + f cauti

public SetPlayerSpawn(playerid)
Dupa ce ai gasit asta modifici la SetPlayerPos(playerid, de la fiecare factiune. De exemplu vrei sa schimbi spawn-ul de la Mayor , odata ce ai gasit linile astea
		if(PlayerInfo[playerid][pLeader] == 7)//Mayor spawn
		{
		    SetPlayerToTeamColor(playerid);
		    SetPlayerInterior(playerid, 3);
		    SetPlayerPos(playerid, 356.2998,151.9914,1025.7891); // aici pui coordinatele noi.
		    PlayerInfo[playerid][pInt] = 3;
			PlayerInfo[playerid][pLocal] = 241;
		    return 1;

Sper ca ai inteles ..

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.