Jump to content
  • 0

2 intrebari...


xxSPEEDYxx

Question

1.salls...azi am pus spawn zone si am pus comenzile la fiecare zona de spawn...dar dc merge numai la /aa cand eu leam pus in fiecare        zona:/jizzy,/lvair...etc.???

2.Mai am o inttrebare...cum pot pune in acolo dupa ce se sfarsesc masinile setvehiclenumberplate?sa apara la toate masinile numarul de inmatriculare?

Fara reclama in semnatura!

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

1.salls...azi am pus spawn zone si am pus comenzile la fiecare zona de spawn...dar dc merge numai la /aa cand eu leam pus in fiecare        zona:/jizzy,/lvair...etc.???

2.Mai am o inttrebare...cum pot pune in acolo dupa ce se sfarsesc masinile setvehiclenumberplate?sa apara la toate masinile numarul de inmatriculare?

Posteaza codul

Link to comment
Share on other sites

1.salls...azi am pus spawn zone si am pus comenzile la fiecare zona de spawn...dar dc merge numai la /aa cand eu leam pus in fiecare        zona:/jizzy,/lvair...etc.???

2.Mai am o inttrebare...cum pot pune in acolo dupa ce se sfarsesc masinile setvehiclenumberplate?sa apara la toate masinile numarul de inmatriculare?

1.http://www.sa-mp.ro/forum/index.php/topic,2557.msg17497.html#msg17497

2.http://wiki.sa-mp.com/wiki/SetVehicleNumberPlate

wtf?I fucking then school??????fuck school :))))

coolte12.png

Link to comment
Share on other sites

astea is codurile:

if(strcmp(cmdtext, "/hm", true) == 0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 15.0, 402.5520,2462.1738,16.5000))
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 100);
		SendClientMessage(playerid,0xFE1209FF, "Spawn Healt Adaugata!");
	}
	else
	{
		SendClientMessage(playerid, 0xE60000FF, "ERROR: NU esti in zona de spawn!");
	}
	return 1;
	}

	if(strcmp(cmdtext, "/hm", true) == 0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 15.0, -2635.8003,1366.6970,7.1257))
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 100);
		SendClientMessage(playerid,0xFE1209FF, "Spawn Healt Adaugata!");
	}
	else
	{
		SendClientMessage(playerid, 0xE60000FF, "ERROR: NU esti in zona de spawn!");
	}
	return 1;
	}

	if(strcmp(cmdtext, "/hm", true) == 0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 15.0, -1459.8004,-204.4911,14.1484))
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 100);
		SendClientMessage(playerid,0xFE1209FF, "Spawn Healt Adaugata!");
	}
	else
	{
		SendClientMessage(playerid, 0xE60000FF, "ERROR: NU esti in zona de spawn!");
	}
	return 1;
	}

	if(strcmp(cmdtext, "/hm", true) == 0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 15.0, 2137.3940,-2435.2456,13.5469))
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 100);
		SendClientMessage(playerid,0xFE1209FF, "Spawn Healt Adaugata!");
	}
	else
	{
		SendClientMessage(playerid, 0xE60000FF, "ERROR: NU esti in zona de spawn!");
	}
	return 1;
	}

	if(strcmp(cmdtext, "/hm", true) == 0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 15.0, 1313.8088,1267.4432,10.8203))
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 100);
		SendClientMessage(playerid,0xFE1209FF, "Spawn Healt Adaugata!");
	}
	else
	{
		SendClientMessage(playerid, 0xE60000FF, "ERROR: NU esti in zona de spawn!");
	}
	return 1;
	}

	if(strcmp(cmdtext, "/hm", true) == 0)
	{
	if(IsPlayerInRangeOfPoint(playerid, 15.0, -2337.9263,-1610.4266,483.7195))
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 100);
		SendClientMessage(playerid,0xFE1209FF, "Spawn Healt Adaugata!");
	}
	else
	{
		SendClientMessage(playerid, 0xE60000FF, "ERROR: NU esti in zona de spawn!");
	}
	return 1;
	}

si cum am mai zis /hm merge numai la /aa

Fara reclama in semnatura!

Link to comment
Share on other sites

Uite incearca asa

       new RandomSpawn = random(3);
    if (RandomSpawn == 0)
    {
        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenatele de la /sfa
        SetPlayerFacingAngle(playerid, 247.9706);
        SetCameraBehindPlayer(playerid);
    }
    if (RandomSpawn == 1)
     {
        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenadele de la /sf
        SetPlayerFacingAngle(playerid, 329.4380);
        SetCameraBehindPlayer(playerid);
     }
    if (RandomSpawn == 2)
    {
        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenadele de la /aa
        SetPlayerFacingAngle(playerid, 46.8321);
        SetCameraBehindPlayer(playerid);
    }
  		SetPlayerInterior(playerid, 0); 
   		GameTextForPlayer(playerid, "~y~Teepee", 4000, 4);
     	return 1;

Daca mai vrei sa mai pui  inca un teleport

new RandomSpawn = random(4);

  }

    if (RandomSpawn == 3)//dece tre si nu 4 ca incepe de la 0

    {

        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenadele de la /aa

        SetPlayerFacingAngle(playerid, 46.8321);

        SetCameraBehindPlayer(playerid);

    }

Link to comment
Share on other sites

Uite incearca asa

       new RandomSpawn = random(3);
    if (RandomSpawn == 0)
    {
        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenatele de la /sfa
        SetPlayerFacingAngle(playerid, 247.9706);
        SetCameraBehindPlayer(playerid);
    }
    if (RandomSpawn == 1)
     {
        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenadele de la /sf
        SetPlayerFacingAngle(playerid, 329.4380);
        SetCameraBehindPlayer(playerid);
     }
    if (RandomSpawn == 2)
    {
        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenadele de la /aa
        SetPlayerFacingAngle(playerid, 46.8321);
        SetCameraBehindPlayer(playerid);
    }
  		SetPlayerInterior(playerid, 0); 
   		GameTextForPlayer(playerid, "~y~Teepee", 4000, 4);
     	return 1;

Daca mai vrei sa mai pui  inca un teleport

new RandomSpawn = random(4);

  }

    if (RandomSpawn == 3)//dece tre si nu 4 ca incepe de la 0

    {

        SetPlayerPos(playerid, -842.5834,2751.8113,45.8516); //pui cordenadele de la /aa

        SetPlayerFacingAngle(playerid, 46.8321);

        SetCameraBehindPlayer(playerid);

    }

da dar...asta cu ce ma ajuta asta mie imi trebuie alea /hm sa mearga la fiecare zona imparte!

Fara reclama in semnatura!

Link to comment
Share on other sites

omule...mie nu imi tre sa ma spamezeeee....mie imi tre de ex:

        cand sunt in aa si scriu /hm sami dea viata si armura sau cand sunt in /sfair si sciru /hm sami dea viata si armu....

si mie asta nu imi merge ca ,cand scriu /hm intr-o zona de spawn la /sfair sau /jizzy sau /lvair....imi da nu esti in zona de spawn....dar cand sunt numai la /aa imi da spawn health adaugata!!...si nush dc

Fara reclama in semnatura!

Link to comment
Share on other sites

functiile..

SetPlayerHealth(playerid,health);

exp:
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,armour);
ex
SetPlayerArnour(playerid,100);

le adaugi la teleporturile care vrei sa-tti dea viata si armura...

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

omule...mie nu imi tre sa ma spamezeeee....mie imi tre de ex:

        cand sunt in aa si scriu /hm sami dea viata si armura sau cand sunt in /sfair si sciru /hm sami dea viata si armu....

si mie asta nu imi merge ca ,cand scriu /hm intr-o zona de spawn la /sfair sau /jizzy sau /lvair....imi da nu esti in zona de spawn....dar cand sunt numai la /aa imi da spawn health adaugata!!...si nush dc

AA scz nam inteles intrebarea bn  :laugh: :laugh:

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By GINAASS
      Buna ma numesc Sorin si am 14 ani.Imi doresc foarte mult sa incep a invata sa scriptez.Nu prea gasesc de unde pot invata aveti voi vreo sugestie?
    • By GINAASS
      Buna ma numesc Sorin si am 14 ani.Imi doresc foarte mult sa incep a invata sa scriptez.Nu prea gasesc de unde pot invata aveti voi vreo sugestie?
    • By Adrian Mircea
      salut, sunt nou pe aici, doar ca am cateva intrebari daca nu sunt cu deranj si ai putea sa-mi raspunzi te rog la ele. ai postat un gm facut de hpq pe adresa asta https://www.leaks.ro/topic/6354-gamemode-b-hood-hpq123-medium-big-edit/  si as vrea sa imi spui te rog cu ce sa il compilez  pentru ca primesc cateva erori , nu ma pricep prea bine sa le rezolv si ma gandesc ca sunt de la compilator .si ultima intrebare , cum as putea ra rezolv problema de la pns-uri sa nu mai teleporteze pentru ca am deja un alt gm tot de la hpq dar cu acela lucrez cu sbulime. multumesc mult. nu stiu daca am postat unde trebuie
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.