06.10.2011, 11:47
I dont know but this error is showing
And this is Command in which is this warning showing
Код:
C:\Documents and Settings\Korisnik\Desktop\Programi\G.R.P\gamemodes\CSadmin.pwn(1199) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
pawn Код:
CMD:heal(playerid, params[])
{
if(gPlayerClass[playerid] == MEDIC_CLASS)
{
new Float:health, user, Float:x, Float:y, Float:z;
if (sscanf(params, "i", user)) return SendClientMessage(playerid, COLOR_WHITE, "[USAGE]: /heal [playerid]");
GetPlayerPos(user, x, y, z); GetPlayerHealth(user, health);
if (!IsPlayerInRangeOfPoint(playerid, 5, x, y, z)) return SendClientMessage(playerid, COLOR_WHITE, "You Are Not Close Enough To The Player!");
if (health > 1) return SendClientMessage(playerid, COLOR_WHITE, "Player's Health Is Above 1, And Cannot Be Healed!");
SendClientMessage(playerid, COLOR_WHITE, "You have just been healed!");
SetPlayerHealth(playerid, health + 50);
}
else return SendClientMessage(playerid,COLOR_WHITE,"You Are Not An Medic!");
return 1;
}