Actors can't have a variable applied to them?
#5

Quote:

They do NOT use player IDs/slots on the server and CANNOT be handled like NPCs.

Quote:
Originally Posted by Aerotactics
Посмотреть сообщение
Something tells me this means they can't be handled with an array variable.
Quote:

These 'actors' are like NPCs, however they have limited functionality.

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);
}
Quote:
ActorCJ
is the Actor ID.
Reply


Messages In This Thread
Actors can't have a variable applied to them? - by Aerotactics - 09.03.2017, 18:59
Re: Actors can't have a variable applied to them? - by Toroi - 09.03.2017, 23:09
Re: Actors can't have a variable applied to them? - by Aerotactics - 10.03.2017, 04:52
Re: Actors can't have a variable applied to them? - by oSAINTo - 10.03.2017, 05:07
Re: Actors can't have a variable applied to them? - by Unte99 - 10.03.2017, 05:09
Re: Actors can't have a variable applied to them? - by vital2k - 10.03.2017, 07:04
Re: Actors can't have a variable applied to them? - by NaS - 10.03.2017, 07:35

Forum Jump:


Users browsing this thread: 2 Guest(s)