Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted (edited)

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.

3 answers to this question

Recommended Posts

  • 0
Posted

La OnPlayerSpawn pui SetPlayerPos(playerid, x,y,z); // x, y, z sa fie coordonatele lui.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

  • 0
Posted

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.

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.