• Usermessages
    6 replies, posted
Hi, i would like some help with calling Usermessages. I'v made two umsg.Long's but I'm not exactly sure how to call both of them client-side. Is there a way to call both of them in separate variables or no? i would also like to refrain from using the net library. (and i swear to god brandonj if you either rate me dumb or tell me to use the net library, I'm going to rip you a new asshole)
Why not use net library ;> ?
[QUOTE=Netheous;40093465]Why not use net library ;> ?[/QUOTE] i think you wanna die XD no but in all seriousness please help
[lua] umsg.Start() // Data to send go in between here umsg.End() [/lua]
[QUOTE=Aide;40093493] umsg.Start()// Data to send go in between hereumsg.End()[/QUOTE] Yes i understand that. i have this: [lua] umsg.Start("bank_machine_menu", Caller) umsg.Long(BANK:GetAmount(Caller)) umsg.String(BANK:GetBankType(Caller)) umsg.Long(BANK:GetLimit(Caller)) umsg.End() [/lua] problem is, i dont know how to call both of the umsg.Long's clientside. i can get the one but not the other. this is clientside [lua] local bank_amount = um:ReadLong() local banklimit = um:ReadLong() local banktype = um:ReadString() [/lua]
Read the messages in the order you sent them dude.
-snip- Nevermind, i guess last night something went awry. it kept returning 0 for some reason but now it doesn't? lol well thanks everyone anyway for the help.
Sorry, you need to Log In to post a reply to this thread.