/duty ~ "you need to type..
#2

pawn Код:
COMMAND:duty(playerid, params[])
{
    if(sscanf(params, "s", params)) return SendClientMessage(playerid, -1, "Usage: /duty <swat>");
    if (!strcmp("swat", params, true))
    {
       SetPlayerHealth(playerid, 100);
       SetPlayerSkin(playerid, 285);
       GivePlayerWeapon(playerid, 31, 999999);
       GivePlayerWeapon(playerid, 17, 1);
       SetPlayerColor(playerid, 0x0000BBAA);
       SendClientMessage(playerid, -1, "You are now on SWAT Duty !");
       return 1;
    }
    return 1;
}
Reply


Messages In This Thread
/duty ~ "you need to type.. - by davelord - 16.04.2011, 19:31
Re: /duty ~ "you need to type.. - by xir - 16.04.2011, 19:57
Re: /duty ~ "you need to type.. - by davelord - 16.04.2011, 20:24
Re: /duty ~ "you need to type.. - by davelord - 16.04.2011, 20:26
Re: /duty ~ "you need to type.. - by xir - 16.04.2011, 20:28
Re: /duty ~ "you need to type.. - by davelord - 16.04.2011, 20:29
Re: /duty ~ "you need to type.. - by davelord - 16.04.2011, 20:31
Re: /duty ~ "you need to type.. - by davelord - 16.04.2011, 21:00

Forum Jump:


Users browsing this thread: 1 Guest(s)