19.01.2011, 16:37
how do you make a orgchat cmd /oc.
i tried this
i tried this
Код:
CMD:oc(playerid, params[])
{
if(Member[playerid] == 4)//if player belongs to so and so org
{
for(new i = 0; i<MAX_PLAYERS ;i++)
{
if(Member[playerid] == 4)
{
SendClientMessage(i, SWAT_COLOR, params);
SendClientMessage(playerid, SWAT_COLOR, params);
}
}
}
return 1;
}

