09.02.2015, 22:09
that just means that the "tabs" are set in an unusual way.. it works without any problems though...
to get rid of the warning, change the distance to the left like this:
to get rid of the warning, change the distance to the left like this:
pawn Код:
CMD:giveweaponlic(playerid, params[])
{
if(IsACop(playerid))
{
new giveplayerid;
if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /giveweaponlic [playerid]");
if(PlayerInfo[giveplayerid][pGunLic] == 0)
{
if(PlayerInfo[giveplayerid][pGunLic] == 0)
{
PlayerInfo[giveplayerid][pGunLic] = 1;
SendClientMessage(playerid, COLOR_WHITE, "You have given a weapon license!");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "That person already got a weapon license!");
}
}
return 1;
}
return 1;
}