1 Warning Help tNx
#2

pawn Code:
if(Account[playerid][pAdminlevel] == 1)
{
    new string[128], name[MAX_PLAYER_NAME];
    #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; // I think this one is not needed
    }
    return 1;
}
If you already have a line having "new string[128], name[MAX_PLAYER_NAME]; " no need to add this line, and I actually assume that warning came out because of your space-ing.
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)