12.04.2013, 20:03
I did create a /swatweaps so people in the S.W.A.T class do get weapons.
But when I tried the command in another class they get the weapons to?
But when I tried the command in another class they get the weapons to?
pawn Код:
CMD:swatweaps(playerid, params[])
{
if(GetPlayerTeam(playerid) == TEAM_SWAT)
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 22, 1000);
GivePlayerWeapon(playerid, 31, 2500);
GivePlayerWeapon(playerid, 29, 1500);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You do now have S.W.A.T Weapons");
return 1;
}