register_native, return text.
I know I return bad,cuz it returns not a value, so how to return it as a text/text message by playersh[id]?
Cuz I need to put it in another plugin ,something like this : Second plugin : PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: register_native, return text.
IIRC you cannot do that with natives. You will have to use:
Code:
// Sets a string in the calling plugin |
Re: register_native, return text.
Omg I don't know how to use it :/
Show me please an example of that code what I gave |
Re: register_native, return text.
Code:
public native_get_user_sh(id, string[], len)Code:
public native_get_user_sh(id, string[], len)You'll also have to use Code:
native get_user_sh(id, string[], len) |
Re: register_native, return text.
Ok thanks ,will try tommorow ,will give feedback, going to sleep :0
|
Re: register_native, return text.
How to use than this in MOTD/show text?
new str[5]; get_user_sh(id, str, 4) ? |
Re: register_native, return text.
Someone,please? :/
|
Re: register_native, return text.
Please? :mrgreen:
|
Re: register_native, return text.
Don't bump your thread unless it's been 2 weeks after the last post.
|
Re: register_native, return text.
bump :0
I need to solve that sh... |
| All times are GMT -4. The time now is 01:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.