[Tuts4Nubs]I wants a cig in ma hand when I writes /smoke!!!
#1

Easy, use SetPlayerSpecialAction!

pawn Code:
if(strcmp("/smoke", cmd, true) == 0)
    {
        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
        GivePlayerMoney(playerid, -2);
        return 1;
    }
Tada!!! When you write /smoke it takes 2 money and gives a cig, comment ( // ) GivePlayerMoney part if you want cigs to be free or just delete it, also search the wiki for more info about SetPlayerSpecialAction

I was really bored and people playing my server asks how I get cigs with a command
Reply
#2

Hey this is very simple is that why it called,


Code:
Tuts4Nubs
LOlz
Reply
#3

I am bored
And there are people askin that really xD
Reply
#4

hahah lol, i made rodney level 23
Reply
#5

Thx xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)