Attaching a native to a variable
I am trying to attach this
PHP Code:
So then I can execute a command on a client PHP Code:
Code:
Error: Number of arguments does not match definition on line 153 |
Re: Attaching a native to a variable
Why not just do this.
Code:
|
Re: Attaching a native to a variable
Let me try, and thanks for the quick reply.
EDIT: works, thanks. Learned something new today :D |
Re: Attaching a native to a variable
Anytime.
|
Re: Attaching a native to a variable
The name is a string so the variable should be labled as a string (sz) not an integer (i). Also, retrieving strings from natives you will always put the string variable and the max string length as arguments.
If I ever have a question like this I always go to the funcwiki first. For the majority of functions it shows what the arguments should be and in some cases shows an example usage of the function. |
Re: Attaching a native to a variable
Is that directed toward me or him?
|
Re: Attaching a native to a variable
Quote:
|
| All times are GMT -4. The time now is 03:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.