Creating npc
#2

YOu can use actors for that.
https://sampwiki.blast.hk/wiki/CreateActor
Код:
new ActorCJ;
 
public OnGameModeInit()
{
    // Create an actor (CJ) at Blueberry Acres (Center of SA map)
    ActorCJ = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
}
Reply


Messages In This Thread
Creating npc - by eikzdej - 26.03.2016, 14:28
Re: Creating npc - by Admigo - 26.03.2016, 14:31
Re: Creating npc - by AIped - 26.03.2016, 14:32
Re: Creating npc - by eikzdej - 26.03.2016, 15:06
Re: Creating npc - by eikzdej - 26.03.2016, 17:22
Re: Creating npc - by iKevin - 26.03.2016, 18:01
Re: Creating npc - by eikzdej - 27.03.2016, 00:43
Re: Creating npc - by eikzdej - 27.03.2016, 03:17
Re: Creating npc - by Mencent - 27.03.2016, 09:28
Re: Creating npc - by eikzdej - 27.03.2016, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)