Creating a Player
#1

Help me please i am trying to add a new character to my gamemode i've already seen it on a RP server ( like a SFPD they have a polce officer at the door that doesn't move of course how to add it please +Rep if Helped.

Example : That Pizza character

[URL="https://imgur.com/a/sgMBD"/URL]
Reply
#2

Please Helppp :/
Reply
#3

Use this https://sampwiki.blast.hk/wiki/CreateActor

Then apply any animation you want to the actor with this https://sampwiki.blast.hk/wiki/ApplyActorAnimation

So:

pawn Код:
new Actor;
 
public OnGameModeInit()
{
    Actor = CreateActor(ANY SKIN, X CORDS, Y CORDS , Z CORDS, FACING ANGLE);
}
In the Actor variable you stored its id, in the case you want to move it or apply an animation
Reply
#4

Thank you so much +rep it really really helped me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)