Drugs
#3

pawn Код:
CMD:drugs(playerid, params[])
{
    new str[128], amount;
    Drugs[playerid] -= amount;
    Deffect[playerid] = 0;
    DrugTimer[playerid] = SetTimerEx("DrugsE", 1300, 3, "ii", playerid, amount);
    SetTimerEx("Busy", 5000,0, "ii", playerid, false);
    ApplyAnimation(playerid, "SMOKING","M_smk_in", 4.2, 0, 0, 0, 0, 0, 1);
    busyAnim[playerid] = true;
//  GameTextForPlayer(playerid,"~w~Press ~b~~k~~VEHICLE_ENTER_EXIT~ ~w~to stop animation",3000,3);
    GameTextForPlayer(playerid, "~w~on drugs", 3000, 3);
    format(str, 128, "took %d Of Drugs. your health will refill.", amount);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, str);
    return 1;
}
Reply


Messages In This Thread
Drugs - by Ananisiki - 16.04.2014, 11:06
Re: Drugs - by LocMax - 16.04.2014, 11:12
Re: Drugs - by Ananisiki - 16.04.2014, 11:32
Re: Drugs - by BroZeus - 16.04.2014, 11:34
Re: Drugs - by Ananisiki - 16.04.2014, 14:03
Re: Drugs - by Conradus - 16.04.2014, 14:09
Re: Drugs - by Ananisiki - 16.04.2014, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)