Actor with custom skin
#12

Quote:
Originally Posted by niCe
Посмотреть сообщение
I doubt that, I'm using custom skins on actors and it works properly.
Dont you have any idea what could be wrong? :/

I have this row in the artconfig file:

Код:
AddCharModel(269, 20001, "fam1.dff", "fam1.txd")
Then a command for creating actor:

Код:
CMD:test(playerid, params[])
{
	new d;
	if(sscanf(params, "d", d)) return Msg(playerid, -1, "/test skinid");
        new Float:pos[3], Float:a[2], Float:z;
	GetPlayerPos(playerid, a[0], a[1], z);
	GetPosInFrontOfPlayer(playerid, pos[0], pos[1], 5);
	GetPlayerFacingAngle(playerid, pos[2]);
	CreateActor(d, pos[0], pos[1], z, pos[2]);
	return 1;
}
And as i said before, it works with IDs from 0 to 311, but with custom skins (so from 20000-30000) it doesnt.
Reply


Messages In This Thread
Actor with custom skin - by kadar - 19.09.2018, 16:29
Re: Actor with custom skin - by Salik - 19.09.2018, 20:01
Re: Actor with custom skin - by kadar - 19.09.2018, 20:04
Re: Actor with custom skin - by kadar - 21.09.2018, 04:28
Re: Actor with custom skin - by aoky - 21.09.2018, 10:49
Re: Actor with custom skin - by ATomas - 21.09.2018, 13:50
Re: Actor with custom skin - by DTV - 21.09.2018, 15:49
Re: Actor with custom skin - by Undef1ned - 22.09.2018, 02:27
Re: Actor with custom skin - by kadar - 22.09.2018, 11:53
Re: Actor with custom skin - by ATomas - 22.09.2018, 13:49
Re: Actor with custom skin - by niCe - 22.09.2018, 14:41
Re: Actor with custom skin - by kadar - 22.09.2018, 14:54
Re: Actor with custom skin - by niCe - 22.09.2018, 16:26
Re: Actor with custom skin - by J0sh... - 22.09.2018, 18:38
Re: Actor with custom skin - by kadar - 24.09.2018, 15:02
Re: Actor with custom skin - by kadar - 24.09.2018, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)