Welcome to Open Carnage

A resource for gamers and technology enthusiasts, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time!

Sign in to follow this  
Followers 0
ST34MF0X

Force players to execute command(s) on event?

Heya. Not sure if this is the right place for this topic, but I figured I'd try. 

I've been reading through the SAPP documentation, and I can't seem to find any way to force players to run commands on an event. is this possible, and if so, how would I implement such functionality?

 


Founder and current project lead of the TiaraCE project.

Share this post


Link to post
Share on other sites

Members of Open Carnage never see off-site ads.

As far as I'm aware that's not possible. You can do that only if clients have Chimera and a lua script running but I guess that's not an option for you.


08f9474ede.jpg

Share this post


Link to post
Share on other sites

If you want to force players to execute server commands, then you'll need a SAPP script. You can use execute_command, then, and have it target the player.

 

If you want to force players to execute client-sided commands, then you'll need Chimera as @aLTis said, and you'll need it set up in a way that will tell the player to execute whatever command you want them to execute.


status.png?customhost=ProtonNebula.com:1

status.png?customhost=ProtonNebula.com:2

status.png?customhost=ProtonNebula.com:2

competent.png

Share this post


Link to post
Share on other sites

If I have to set all of my players up that way, I will. 

 

The reason I'm asking is because I want the equipment saving and loading script to run its appropriate functions when a player enters or leaves the game. Would that functionality be possible with just a server-side script? 

Edited by ST34MF0X

Founder and current project lead of the TiaraCE project.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.