• DataSteam
    2 replies, posted
I know Gmod wiki says the args are: [LUA] datastream.StreamToServer( string handler, table:string:number:boolean:Vector:Angle:entity:player:ConVar:Color data, function callback[, function accept_callback] )[/LUA] I was wondering if I could just put a table with any variables? like: [LUA] datastream.SteamToServer("ClientHook",{ply,1,2,3,4,5,6,7,8,false,true,ply,Vector(0,0,0),Vector(122,122,122}) [/LUA]
That should work. A table isn't limited to only one type.
Yeah, you use a table to transmit a bunch of stuff.
Sorry, you need to Log In to post a reply to this thread.