Jump to content
  • 0

Cum pot face o comanda de teleport?


robert

Question

3 answers to this question

Recommended Posts

Dami cordonatele si ti-o fak eu

O comanda normala de teleport arata cam asa

if(strcmp("/comanda",cmdtext,true) ==0)
{
SetPlayerPos(playerid,x,y,z) ///x,y,z cordonatele
SetPlayerInterior(playerid,interiorid) //daca vrei sa te teleporteze int-un interior 
return 1;
}

Mda vrei sa fie cu masina sau fara masina adik vrei sa te teleporteze cu masina sau fara masina?

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

1.Intri in joc

2.Te duci la parcarea aia

3.Dai /save

4.Te duci in my documents>gta sa user files>samp>saved positions si selectezi pozitia salvata(ultima , cea mai recenta)

5 selectezi cam asa uite iti dau un ex de linie care o gasesti acolo :  AddPlayerClass(292,2330.7988,-1659.4626,13.4664,270.2604,0,0,0,0,0,0); //

De acolo selectezi doar asta :

AddPlayerClass(292,2330.7988,-1659.4626,13.4664,270.2604,0,0,0,0,0,0); //

Asa

6.Te duci in gamemodeul tau sau intrun fs si cauti acolo :

public OnPlayerCommandText

De ex noi mai avem la onplayercommandtext o comanda(nu conteaza care comanda tiam dat exemplu ca sa stii unde sa pui comanda ta:

		if (strcmp("/arme2", cmdtext, true, 10) == 0)
	{
		if(GetPlayerMoney(playerid) > 1000)
		{
	   		GivePlayerMoney(playerid, -1000);
	   		SetPlayerHealth(playerid, 100);
	   		SetPlayerArmour(playerid, 100);
	   		GivePlayerWeapon(playerid, 24,500);
	   		GivePlayerWeapon(playerid, 26, 500);
	   		GivePlayerWeapon(playerid, 39, 500);
	   		GivePlayerWeapon(playerid, 40, 500);
	   	}
	   	return 1;
	}
Na punem asta dupa  } de dupa Return 1; ASTA:
	if (strcmp("/COMANDA", cmdtext, true, 10) == 0)
	{
		SetPlayerInterior(playerid, 0);
		SetPlayerPos(playerid, CIFRELE CARE TREBUIA SA LE COPIEZI);
		return 1;
	}

7.Intri in joc si scrii /Comanda aleasa de tine  SI GATA!!!

sper ca te-am ajutat

Nu trebuie sa i o faci tu ma trebuie el sa invetze de ce apoi sa ne puna mii de posturi cu coordonate sa le facem noi, sa invetze el ca asa e bine!

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

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.