16.01.2012, 12:43
pawn Код:
new
PlayerInfo[ MAX_PLAYERS ][ PlayerData ];
// ---
IRCCMD:test(botid, channel[], user[], host[], params[])
{
PlayerInfo[user][Test] = 0;
return 1;
}
// ---
IRCCMD:test2(botid, channel[], user[], host[], params[])
{
if(PlayerInfo[user][Test] == 0)
{
IRC_GroupNotice(gGroupID, user, "It works!");
}
return 1;
}