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