1 Warning Help tNx
#1

Hi Why Give Me a Error ? Help Me + Rep TnX :Xx

This is Code:
Code:
if(Account[playerid][pAdminlevel] == 1)
    {
	#pragma unused params
	for(new car = 1; car <= 268; car++)
        {
                if(IsVehicleEmpty(car)) SetVehicleToRespawn(car);
        }
        			        GetPlayerName(playerid, name, sizeof(name));
					format(string, sizeof(string), "[News] {FF0000}loaded allcars By %s .",name);
					SendClientMessageToAll(COLOR_PINK, string);
        			return 1;
	}
	return 1;
}
stock IsVehicleEmpty(vehicleid)
{
        for(new i=0; i<MAX_PLAYERS; i++)
        {
                if(IsPlayerInVehicle(i, vehicleid)) return 0;
        }
        return 1;
}
And Give Me This warning:

Code:
warning 217: loose indentation
At This Line :
Code:
 GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "[News] {FF0000}loaded allcars By %s .",name);
SendClientMessageToAll(COLOR_PINK, string);
Reply


Messages In This Thread
1 Warning Help tNx - by alishvasis - 12.02.2014, 09:23
Re: 1 Warning Help tNx - by MattTucker - 12.02.2014, 09:31
Re: 1 Warning Help tNx - by rakshith122 - 12.02.2014, 09:37
Re: 1 Warning Help tNx - by alishvasis - 12.02.2014, 09:54
Re: 1 Warning Help tNx - by rakshith122 - 12.02.2014, 09:56

Forum Jump:


Users browsing this thread: 2 Guest(s)