19.09.2012, 16:42
Where is the Error here
Код:
D:\Samp\samp03e_svr_R2_win32\gamemodes\Start.pwn(94) : error 017: undefined symbol "COLOR_Yellowe" D:\Samp\samp03e_svr_R2_win32\gamemodes\Start.pwn(100) : error 017: undefined symbol "COLOR_Red" D:\Samp\samp03e_svr_R2_win32\gamemodes\Start.pwn(105) : error 017: undefined symbol "COLOR_Red" D:\Samp\samp03e_svr_R2_win32\gamemodes\Start.pwn(106) : error 017: undefined symbol "COLOR_Red" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. .
Код:
if (strcmp("/heal", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, COLOR_Yellowe, "(INFO) You have been healed!");
return 1;
}
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, COLOR_Red, "(INFO) You have commited suicide!");
return 1;
}
if (strcmp("/help", cmdtext, true, 5) == 0)
{
SendClientMessage(playerid, COLOR_Red, "(INFO) Welcome to my Server's HELP command!");
SendClientMessage(playerid, COLOR_Red, "(INFO) Hope you enjoy the tutorial!");
return 1;
}
return 0;
}


