Weed Smoke
#1

I've found the cigarette object 3027 but i like to have the smoke animation witouth the default cigarette.
Look the video for understand my request!
[ame]http://www.youtube.com/watch?v=LSYcAQp_2gU[/ame]
Reply
#2

pawn Код:
ApplyAnimation(playerid, "GANGS", "smkcig_prtl",4.1,0,1,1,0,0);
Reply
#3

Quote:
Originally Posted by EiresJason
Посмотреть сообщение
pawn Код:
ApplyAnimation(playerid, "GANGS", "smkcig_prtl",4.1,0,1,1,0,0);
Is correct?
PHP код:
if(weed[playerid] > 0)
    {
        if(
newkeys == KEY_FIRE)
        {
            
weed[playerid] ++;
            
ApplyAnimation(playerid"GANGS""smkcig_prtl",4.1,0,1,1,0,0);
            new 
dlevel GetPlayerDrunkLevel(playerid);
            if((
dlevel 2000) < 10000) { SetPlayerDrunkLevel(playerid,(dlevel 2000)); }
            if(
weed[playerid] == 10)
            {
                for(new 
i=0i<MAX_PLAYER_ATTACHED_OBJECTSi++)
                {
                if(
IsPlayerAttachedObjectSlotUsed(playeridi)) RemovePlayerAttachedObject(playeridi);
                }
                
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
                
SendEmote(playerid,"finisce di fumare la sua canna e la getta a terra.");
                
weed[playerid] = 0;
            }
        }
    } 
Reply
#4

Don't remove all of their attached objects. Just remove the item in the slot in which you put the smoke in when you typed /smoke or something
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)