Actor problem
#6

Quote:
Originally Posted by FreAkeD
Посмотреть сообщение
"When creating an actor with CreateActor, you specify it's position. You do not need to use this function unless you want to change its position later."

https://sampwiki.blast.hk/wiki/CreateActor
He's using SetPlayerPos, which means that he set his player's location the same as the actor's one. The function to set the position of actor is SetActorPos, so the problem is not in SetPlayerPos.

Quote:
Originally Posted by Sanady
Посмотреть сообщение
I read that twice. But actor won`t show.
You should try to define the actor first:
Код:
new Actor1;
CMD:actor(playerid, params[]) 
{ 
    Actor1 = CreateActor(4, -366.200988, 1539.180053, 75.560897, 0.0); 
    SetPlayerPos(playerid, -366.200988, 1539.180053, 75.560897); 
    return 1; 
}
Reply


Messages In This Thread
Actor problem - by Sanady - 11.01.2016, 10:55
Re: Actor problem - by justice96 - 11.01.2016, 10:57
Re: Actor problem - by Sanady - 11.01.2016, 11:01
Re: Actor problem - by AlexuTzVs - 11.01.2016, 11:56
Re: Actor problem - by FreAkeD - 11.01.2016, 11:59
Re: Actor problem - by Darkwood17 - 11.01.2016, 13:02
Re: Actor problem - by Sanady - 11.01.2016, 13:32
Re: Actor problem - by Sanady - 13.01.2016, 13:40
Re: Actor problem - by IceBilizard - 13.01.2016, 13:52
Re: Actor problem - by jlalt - 13.01.2016, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)