11.07.2012, 14:21
Well, not trying to copy and paste everything, and I'm a beginner at this language started learning yesterday.
I get the following errors
The command that I'm making is this.
Errors that I'm making so I can look back at them and fix them in the future.
If you didn't get a good look at them, or need more information.
Link: http://gyazo.com/e228c4035b72339f1f3526180915dda6
I get the following errors
PHP код:
C:\Users\Jeannette\Desktop\Windows-Server\pawno\Joks.pwn(101) : error 017: undefined symbol "SCM"
C:\Users\Jeannette\Desktop\Windows-Server\pawno\Joks.pwn(103) : warning 217: loose indentation
C:\Users\Jeannette\Desktop\Windows-Server\pawno\Joks.pwn(106) : warning 209: function "zcmd_OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/healme", cmdtext, true, 10) == 0)
{
SetPlayerArmour(1, 50);
SetPlayerHealth(1, 50);
SCM(playerid, COLOR_PINK, "You've refilled your Armour, and health. Goodluck!");
return 1;
}
If you didn't get a good look at them, or need more information.
Link: http://gyazo.com/e228c4035b72339f1f3526180915dda6