Quote:
Originally Posted by OciXCrom
You have iTarget, szPlayerId - save one of them in a global variable - g_iTarget[33] and you can use it in the comnand's body.
|
Well, szPlayerId is simply iTarget as a string, but your reply gave me an idea, I created a variable g_iTarget[33] as you said, and did
Code:
g_iTarget[id] = iTarget
When sending client_cmd messagemode, then in the command's handler I used new iTarget = g_iTarget[id]
Quote:
Originally Posted by CrAzY MaN
I think you must go with what OciXCrom said.
Check my Whatsapp plugin for more example of messagemode.
|
Your plugin uses the basic version of the messagemode, I needed to pass something through it.
__________________