11.02.2012, 04:03
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:
Compile Report:
If you can tell me what to change I'll be very happy. 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; }
Код:
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.