A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »SAPP Bug? Cannot set afk via script.

Author Topic: SAPP Bug? Cannot set afk via script. (3 messages, Page 1 of 1)
Moderators: Dennis

sparky
Joined: Jun 27, 2009

I am who I am.


Posted: Aug 13, 2017 02:10 PM    Msg. 1 of 3       
In the past, this used to work in a Lua script, and now it does not. Does anyone know if this is a bug? sehe is MIA, and his web site is gone, so I don't know how this could be reported and fixed if it is indeed a bug.

execute_command("afk",PlayerIndex)


This returns "false" meaning that the command failed.


KVOND
Joined: Sep 20, 2014

A.K.A -The Rock Candy-


Posted: Aug 17, 2017 01:17 PM    Msg. 2 of 3       
client commands can only be executed by clients, not scripts.

IIRC that's why the stable_lead.lua stopped working.

it set /clead to a set ammount. now it doesnt work in latest SAPP.

You can use an older version like 9.8.1 to by pass this I think.


sparky
Joined: Jun 27, 2009

I am who I am.


Posted: Aug 17, 2017 06:18 PM    Msg. 3 of 3       
Thanks for the suggestion. I approached the issue in a different way to make it work plausibly with the current version of SAPP.

 

 
Previous Older Thread   





Time: Sun August 20, 2017 7:37 AM 297 ms.
A Halo Maps Website