SA-MP Forums Archive
Help Me ;( - 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)
+--- Thread: Help Me ;( (/showthread.php?tid=317209)



Help Me ;( - Zxdsl - 10.02.2012

Hey , how to make a cmd with putting it off


Код:
CMD:alien( playerid, params[] )
{
    for ( new i = 0; i < 5; i ++ )
		if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) )
			RemovePlayerAttachedObject( playerid, i );
	SetPlayerAttachedObject( playerid, 0, 18645, 2, 0.017478, 0.051500, 0.003912, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // MotorcycleHelmet1 - HEAD
	SetPlayerAttachedObject( playerid, 1, 18690, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // fire_car - fire2
	SetPlayerAttachedObject( playerid, 2, 18716, 2, -2.979508, 0.306475, -0.388553, 285.055511, 90.860740, 171.179550, 1.780549, 0.912008, 1.208514 ); // prt_smoke_expand - smoke3
	return 1;
}



Re: Help Me ;( - milanosie - 10.02.2012

I dont get it?


Re: Help Me ;( - niels44 - 10.02.2012

i think she means that she wants after she did /alien she wants a cmd to put the alien things off again, so she gets a normal skin again... i dont know how to make this but i think thats what she means


Re: Help Me ;( - Konstantinos - 10.02.2012

pawn Код:
CMD:removeholds( playerid, params[ ] )
{
    for ( new i = 0; i < 5; i ++ )
        if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) ) RemovePlayerAttachedObject( playerid, i );
    return 1;
}



Re: Help Me ;( - Zxdsl - 10.02.2012

Dwane Ty So MuCh + REP


Re: Help Me ;( - milanosie - 10.02.2012

why do you think its a she?