18.05.2013, 17:26
pawn Код:
if(!strcmp("9-2", text, true) && strlen(text)==strlen("10-0") && Code == true)
{
SendClientMessageToAll(0xDEEE20FF, "HELP");
}
RandomDude[0]: HELP
it would come like that if i type 9-2
if(!strcmp("9-2", text, true) && strlen(text)==strlen("10-0") && Code == true)
{
SendClientMessageToAll(0xDEEE20FF, "HELP");
}
printf("text: %s - strlen(text): %d - strlen(\"10-0\"): %d - Code: %s", text, strlen(text), strlen("10-0"), (Code ? ("true") : ("false"));