SA-MP Forums Archive
SetNpcSkin(skinid) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetNpcSkin(skinid) (/showthread.php?tid=103956)



SetNpcSkin(skinid) - maiccz - 22.10.2009

It will be in SA: MP 0.3b this feature? (


Re: SetNpcSkin(skinid) - maiccz - 22.10.2009

Yes, but during the filming of action for the shoe does not change the skin: (


Re: SetNpcSkin(skinid) - kr0tchy - 22.10.2009

use SetSpawnInfo(playerid, team, skin, Float, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);

ex:
Код:
 	if(!strcmp(playername,"NPC_Bus",true)) {
 	SetSpawnInfo( playerid, 0, 255, 1958.33, 1343.12, 15.36, 269.15, 2, 1, 0, 0, 0, 0 );
    PutPlayerInVehicle(playerid, bus1, 0);
	}



Re: SetNpcSkin(skinid) - maiccz - 22.10.2009

I know, but what if I want to change the Skin when the bot is somewhere? (