Jump to content

COMANDA: FVR


keNN.

Recommended Posts

Salut are cineva vreo idee cum asi putea sa fac comanda /fvr ca sa apara in chat-ul factiunii ?
COMANDA: 
 

CMD:fvr(playerid, params[])
{
	if(playerVariables[playerid][pGroupRank] >= 5)
	{
		for(new car = 1; car <= 1300; car++)
		{
		    if(vehicleVariables[car][vVehicleGroup] == playerVariables[playerid][pGroup])
			{
				if(!IsVehicleOccupied(car))
				{
					SetVehicleToRespawn(car);
				}
			}
		}
		SCM(playerid, COLOR_GREY, "{FF0000}FWarn: {FFFFFF}Faction vehicles respawned!");
	}
	return 1;
}

 

Link to comment
Share on other sites

Da aceasta este comanda fvr daca asta vrei sa iti confirmam, de care nu am auzit niciodata dar care vad ca este aceasi cu rfc(respawn faction cars)

Ce vrea sa reprezinte acest topic inutil in discutii scripting?

  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Daca ai vreo functie care trimite un mesaj tututor membrilor dintr-un grup anume foloseste-o. Daca nu poti face tot cum faci si la spawnare masinilor respective.

for(new i = 0; i < MAX_PLAYERS; i++)

{

         if(playerVariables[pGroup] == playerVariables[playerid][pGroup])

        {

                 Mesajul

         }

}

Cea mai sigura sursa de facut bani de buzunar in mediul virtual. Inregistreaza-te si pune-te pe treaba !!!

http://www.viespar.ro/?reff=ab8e9d8086304d6136eac03c710238d7

Link to comment
Share on other sites

10 hours ago, Mister said:

Da aceasta este comanda fvr daca asta vrei sa iti confirmam, de care nu am auzit niciodata dar care vad ca este aceasi cu rfc(respawn faction cars)

Ce vrea sa reprezinte acest topic inutil in discutii scripting?

RTC si FVR este acelasi lucru.

6 hours ago, Jamal Alin said:

Daca ai vreo functie care trimite un mesaj tututor membrilor dintr-un grup anume foloseste-o. Daca nu poti face tot cum faci si la spawnare masinilor respective.

for(new i = 0; i < MAX_PLAYERS; i++)

{

         if(playerVariables[pGroup] == playerVariables[playerid][pGroup])

        {

                 Mesajul

         }

}

O sa incerc. Dau edit daca merge.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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