Attached Player Object remove after death/spawn?
#5

Thanks here's the code. I'm doing it using dialog so this go under Ondialogresponse.


pawn Код:
if ( dialogid == DIALOG_OBJ )
    {
        if ( !response ) return 1;
        if ( response )
        {
            switch ( listitem )
            {
                case 0:
                {
                    ShowPlayerDialog(playerid, DIALOG_HEAD, DIALOG_STYLE_LIST, "{33CC99}Head", "Hair\nHair 2\", "Choose", "Back");
                }
             }
           }
       }
    if ( dialogid == DIALOG_HEAD)
    {
        if ( !response ) return ShowPlayerDialog(playerid, DIALOG_OBJ, DIALOG_STYLE_LIST, "
Objects Menu", "Head", "Choose", "Close");
        if ( response )
        {
            switch ( listitem )
            {
                case 0:
                {
                    SetPlayerAttachedObject( playerid, 1, 18893, 2, 0.094485, 0.007215, 0.0, 0.000000, 0.000000, 0.000000, 1.200000, 1.200000, 1.200000  );
                    EditAttachedObject(playerid, 1);
                }
Reply


Messages In This Thread
Attached Player Object remove after death/spawn? - by kbalor - 10.09.2012, 10:43
Re: Attached Player Object remove after death/spawn? - by Squirrel - 10.09.2012, 10:50
Re: Attached Player Object remove after death/spawn? - by Squirrel - 10.09.2012, 10:55
Re: Attached Player Object remove after death/spawn? - by clarencecuzz - 10.09.2012, 11:02
Re: Attached Player Object remove after death/spawn? - by kbalor - 10.09.2012, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)