13.09.2012, 18:01
(
Последний раз редактировалось Twinklies; 13.09.2012 в 18:03.
Причина: Fixing
)
What's the problem with this?
if(strcmp(cmdtext, "/tutorial", true) == 0)
{
if(text[0] == 'y')
{
SendClientMessage(playerid, COLOR_RED, "<!>Test passed");
}
if(text[0] == 'n')
{
SendClientMessage(playerid, COLOR_RED, "<!>You didnt pass");
}
return 1;
}
Errors:
error 017: undefined symbol "text"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
if(strcmp(cmdtext, "/tutorial", true) == 0)
{
if(text[0] == 'y')
{
SendClientMessage(playerid, COLOR_RED, "<!>Test passed");
}
if(text[0] == 'n')
{
SendClientMessage(playerid, COLOR_RED, "<!>You didnt pass");
}
return 1;
}
Errors:
error 017: undefined symbol "text"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line