Duplicating character -
Alpay0098 - 17.06.2015
Hi,
It will be awesome if you make a function to duplicate a player's character like one character will be on AFK mode and another will be online.
For example in some RP servers if you saw, FBI can /sate all around the city,
And for /sate we should get into a station and type that.
But then when you /sate it, your character position changes for getting a better view of city.
and it will be good if you type /sate, your player will be on AFK mode in station, and meanwhile you can set player pos to anywhere you want.
Hope you understand.
opinions will be appreciated.
Thanks.
Re: Duplicating character -
J0sh... - 17.06.2015
Create a actor at the player pos and set the player pos somewhere else?
Not sure what you're asking for.
Re: Duplicating character -
Darrenr - 17.06.2015
Sorry. No one appears to understand... :S
Re: Duplicating character -
Alpay0098 - 17.06.2015
Damn ...
Creating actor doesn't need any Name above player

?
Re: Duplicating character -
J0sh... - 17.06.2015
You can create a Name function for a Actor.
PHP Code:
SetActorName(actorid, name[])
{
//code here
}
Re: Duplicating character -
davve95 - 17.06.2015
Quote:
Originally Posted by Alpay0098
Damn ...
Creating actor doesn't need any Name above player  ?
|
Create a text label above it.
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Re: Duplicating character -
Alpay0098 - 17.06.2015
Quote:
Originally Posted by davve95
|
Should we do all these shit?
Why do we use harder way all the time
Re: Duplicating character -
Admigo - 17.06.2015
Quote:
Originally Posted by Alpay0098
Should we do all these shit?
Why do we use harder way all the time 
|
Because we can.
Re: Duplicating character -
McBan - 17.06.2015
I don't think anybody fully understands you to be able to help you out exactly how you want...
Re: Duplicating character -
Abagail - 17.06.2015
You don't need to set their physical position, you can integrate the "flymode.pwn" fs from the SA-MP default filterscripts allowing them to move their view around while in spectate mode. This does not affect the player's position however it removes the physical ped you see so it is recommended you replace the actual coordinates with a static actor to replace the now spectating pedestrian model.