01.02.2011, 23:16
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;
}