01.02.2011, 22:45
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/CTAB", true))
{
if (gTeam[playerid] == TEAM_CT)
{
GivePlayerWeapon(playerid, 23, 200);
GivePlayerWeapon(playerid, 31, 120);
}
else
{
SendClientMessage(playerid, 0xFF0000FFF, "You are not a CounterTerorist.");
}
return 1;
}
}
return 0;