SA-MP Forums Archive
Need help on my smoke script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help on my smoke script (/showthread.php?tid=88267)



Need help on my smoke script - stanLeys - 25.07.2009

fixed


Re: Need help on my smoke script - stanLeys - 25.07.2009

yes it is fixed ppl


Re: Need help on my smoke script - MadeMan - 25.07.2009

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/Smoke", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid,COLOR_RED,"you startin to smoke some Weed, and feelin Greaaaaatty");
        ApplyAnimation(playerid,"JST_BUISNESS","smoke_01",4.1,1,1,1,1,1);
        SetPlayerWeather(playerid, -66);
        return 1;
    }
    return 0;
}
EDIT: lol