Jump to content
  • 0

Problema spawn


Speed.

Question

Problema intalnita (descriere): Cand ma omoara cineva ma spawneaza pe un camp.
Ero(area / rile) / warning-(ul / urile): Nu am.
Liniile de cod / sursa / script-ul(obligatoriu): Nu stiu exact unde se afla.
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Nu, nu am incercat, nu ma descurc foarte bine in pawno, sunt incepator.

Edited by Speed.
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

La 

public SetPlayerSpawn(playerid)

adauga ceva de genu:

if(PlayerData[playerid][pMember] == 0)
	    {
			    SetPlayerPos(playerid, Coordonate X,Coordonate Y,Coordonate Z); //adauga aici coordonatele de la spawn
				SetPlayerInterior(playerid,0);
				PlayerData[playerid][pInt] = 0;
				SetPlayerVirtualWorld(playerid, 0);
		}
	

Aceasi treaba o faci pentru fiecare factiune, daca vrei sa se respawneze la HQ schimband la [pMember] == 0 cu id-ul factiuni.

 

Acesta este doar un exemplu, trebuie sa-l editezi cum ti se potriveste tie pe GM.

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.