Jump to content
  • 0

Cum adaug /rac in sv?


Guest Vicente

Question

5 answers to this question

Recommended Posts

	//-------------------------------------------------------------------------------
	if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
			if(PlayerInfo[playerid][pAdmin] < 1337)
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You have not access to use this command");
				return 1;
			}
			new bool:unwanted[CAR_AMOUNT];
			for(new player=0; player<MAX_PLAYERS; player++)
			{
				if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
			}
			for(new car = 1; car <= id-ultotaldemasini; car++)
			{
				if(!unwanted[car]) SetVehicleToRespawn(car);
			}
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, sizeof(string), "SERVER: All unused cars were respawned by Administrator %s.", sendername);
			BroadCast(COLOR_WHITE,string);
		}
		return 1;
	}

Link to comment
Share on other sites

sau langa /gov

BAI TERMINATI , NUMAI FITI COPII , Blondule tu de ce ai mai intervenit cu un post? NU CONTEAZA UNDE PUNE COMANDA , DOAR CA TREBUIE PUSA LA public OnPlayerCommandText(playerid, cmdtext[])

bha ia vezi u cum te  bagy cu japca in seamana. am raspun la intrebare si daca nu iti convine ceva la mn, nu te mai baga cu japca in seama capis ?

Nu el se simte cel bagat in seama ci tu , el i-a raspuns la intrebare , tu de ce ai mai venit cu un post?

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.