Quick Help? :)
#1

Hey I dunno, if something is wrong or not, code looks fine to me but.. I am used to it. So take a look at my code and compile report and tell me what I can fix up? thanks

My Code:
Код:
public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp("/healme",cmdtext,true,10) == 0)
	{
		SetPlayerHealth(playerid,100);
		SendClientMessage(playerid, 0xFFFFFF, "You Healed Yourself!");
		return 1;
	}
		if(strcmp("/killme",cmdtext,true,10) == 0)
	{
		SetPlayerHealth(playerid,0);
		SendClientMessage(playerid, 0xFFFFFF, "You Killed Yourself!");
		return 1;
	}
	return 0;
}
Compile Report:
Код:
C:\Users\Admin\Desktop\RP.pwn(457) : warning 217: loose indentation
C:\Users\Admin\Desktop\RP.pwn(463) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
If you can tell me what to change I'll be very happy. Thanks
Reply


Messages In This Thread
Quick Help? :) - by KiiD - 11.02.2012, 04:03
Re: Quick Help? :) - by [HK]Ryder[AN] - 11.02.2012, 04:26
Re: Quick Help? :) - by Kitten - 11.02.2012, 04:27
Re: Quick Help? :) - by KiiD - 11.02.2012, 05:40

Forum Jump:


Users browsing this thread: 1 Guest(s)