13.07.2011, 16:31
I think you didn't read my post properly. I said, that I've seen it there in several callbacks, but didn't understood what it did.
Let's assume this is the command, which is actually taken out from GF:
It's pretty much obvious that the player entering the command /charity is connected, that is why he is able to enter it. Please correct me if I'm wrong.
Let's assume this is the command, which is actually taken out from GF:
pawn Код:
if(strcmp(cmd, "/charity", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_RED, "(( USAGE: /charity [amount] ))");
return 1;
}//....

