07.02.2009, 18:28
Hello People 
I need a /block Command. This Block command is for every user to ignore other User - I don't know how i do it.. Grml
I think its a little bit like this ( Its Made by me ):
But i think its very wrong

I need a /block Command. This Block command is for every user to ignore other User - I don't know how i do it.. Grml

I think its a little bit like this ( Its Made by me ):
Код:
if(strcmp(cmd, "/block", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (!Block[playerid])
{
Block[playerid] = 1;
SendClientMessage(playerid, COLOR_GRAD2, " Spieler wurde geblockt !");
}
else if (Block[playerid])
{
Block[playerid] = 0;
SendClientMessage(playerid, COLOR_GRAD2, " Spieler wurde entblockt !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Du bist kein Admin / Premium Account User !");
return 1;
}
}
return 1;
}

