Hallo leute
Kann mir einer helfen ich suche ein /respawnallcars command
Damit ein admin alle cars zurück spawnen kann.
Mfg
martin1997
Hallo leute
Kann mir einer helfen ich suche ein /respawnallcars command
Damit ein admin alle cars zurück spawnen kann.
Mfg
martin1997
Für Godfather
	if(strcmp(cmd,"/respawnallcars",true) == 0)
	{
		if(PlayerInfo[playerid][pAdmin] >= 1) //Die 1 entspricht das Adminlevel
		{
		    for(new v=0; v<MAX_VEHICLES; v++)
		    {
                SetVehicleToRespawn(v);
		    }
		}
		else SendClientMessage(playerid,COLOR_RED," Du bist kein Admin!");
		return 1;
	}
Falls kein Godfather machste es einfach mit rcon Admin :
if(IsPlayerAdmin(playerid))
danke fuk.
mfg
martin1997