/hangup Command
#9

pawn Код:
//after the animation
SetTimerEx("CellphoneDisapear", DISAPPEAR_TIME, false, "d", playerid);

//on top of the script
forward public CellphoneDisappear(playerid);

// where ever you want :D

public CellphoneDisappear(playerid)
{
    RemovePlayerAttachedObject(playerid, 4);
    return 1;//don't know if this is necessary
}
DISAPPEAR _TIME- you will need to count that(1000=1 sec). Check how long does the animation last( if the animation lasts for 3.5 sec you should put 3500).
Reply


Messages In This Thread
/hangup Command - by fury14 - 21.07.2012, 10:32
Re: /hangup Command - by fury14 - 21.07.2012, 10:54
Re: /hangup Command - by Infinity90 - 21.07.2012, 10:59
Re: /hangup Command - by fury14 - 21.07.2012, 11:04
Re: /hangup Command - by Roko_foko - 21.07.2012, 11:26
Re: /hangup Command - by fury14 - 21.07.2012, 11:33
Re: /hangup Command - by Roko_foko - 21.07.2012, 11:41
Re: /hangup Command - by fury14 - 21.07.2012, 11:44
Re: /hangup Command - by Roko_foko - 21.07.2012, 11:50
Re: /hangup Command - by fury14 - 21.07.2012, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)