Posts: 186
Threads: 36
Joined: Dec 2017
hello guys i need little help
how to make put player in boot cmd so i can put player in boot like eLg Clan's
/playerinboot [id]
how can i do that help me please
Posts: 1,547
Threads: 122
Joined: Jun 2014
Reputation:
0
Haven't seen eLg Clan's boot feature.
but you can start off with zcmd and sscanf.
check if the targetid is close to playerid and then put the player in boot. (Now, I'm not sure what are the features when player is forced in boot in eLg)
But I think, you can put an actor in the trunk and set the targetid to spectate the vehicle.
Posts: 186
Threads: 36
Joined: Dec 2017
Quote:
Originally Posted by Ritzy
Haven't seen eLg Clan's boot feature.
but you can start off with zcmd and sscanf.
check if the targetid is close to playerid and then put the player in boot. (Now, I'm not sure what are the features when player is forced in boot in eLg)
But I think, you can put an actor in the trunk and set the targetid to spectate the vehicle.
|
hmm btw i need help by which code i can use on it to make it
EDIT: should i use CreateActor
in boot then i put the player on spect
Posts: 186
Threads: 36
Joined: Dec 2017
Quote:
Originally Posted by RogueDrifter
How would u put an actor in the boot? how will his position keep changing? i'm not sure but afaik it would be possible by spamming setplayerpos compared to the vehicle driver and applyanim. that's all i can think of.
|
can u make code pls
Posts: 6,242
Threads: 8
Joined: Jun 2008
lol, just do what Ritzy suggested about spectating.
Have some 3DTextLabel or some shit highlighting that there is a player in there, and make sure you keep a track of those who are in the boot.
A good script to look at regarding this would be the old Enterable Shamal script, and the same with the trolley car in SF script.
Don't worry about having the actor in there just currently, figure that out later.