21.05.2013, 18:21
ok, so I've got a very, very simple /kick command for testing purposes, it works fine, it closes the connection when the cmd is executed, but I never get a message.
}
if (strcmp("/k", cmdtext, true, 2) == 0)
{
SendClientMessage(playerid, COLOR_RED, "kicked");
Kick(playerid);
return 1;
}
I never get the 'kicked' message, it merely closes the connection with no message, and I'm slightly baffled to as to why this is.
I'm probably making a simple error but any help is appreciated.
}
if (strcmp("/k", cmdtext, true, 2) == 0)
{
SendClientMessage(playerid, COLOR_RED, "kicked");
Kick(playerid);
return 1;
}
I never get the 'kicked' message, it merely closes the connection with no message, and I'm slightly baffled to as to why this is.
I'm probably making a simple error but any help is appreciated.