Class command
#1

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?

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;
}
Reply


Messages In This Thread
Class command - by NathNathii - 12.04.2013, 20:03
Re: Class command - by Humprabbit - 12.04.2013, 20:11
Re: Class command - by Djole1337 - 12.04.2013, 20:16
Re: Class command - by NathNathii - 12.04.2013, 20:18
Re: Class command - by Humprabbit - 12.04.2013, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)