11.11.2011, 18:33
pawn Код:
if(!strcmp("/kit", cmdtext))
{
if(gTeam[playerid] != TEAM_T && gTeam[playerid] != TEAM_CT)
return SendClientMessage(playerid,-1,"Vocк nгo pode usar este comando.");
if(gTeam[playerid] == TEAM_T)
SendClientMessage(playerid,-1,"Vocк pegou seu Kit Terrorista");
else
SendClientMessage(playerid,-1,"Vocк pegou seu Kit Policial");
GivePlayerWeapon(playerid, 24, 2500);
GivePlayerWeapon(playerid, 31, 2500);
GivePlayerWeapon(playerid, 29, 2500);
GivePlayerWeapon(playerid, 25, 2500);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 34, 2500);
GivePlayerWeapon(playerid, 16, 10);
GivePlayerWeapon(playerid, 40, 2500);
GivePlayerWeapon(playerid, 27, 50);
return 1;
}