Raised This Month: $51 Target: $400
 12% 

Return string native


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 11-07-2017 , 16:55   Return string native
Reply With Quote #1

I read that you can't simply return string like int or float in native and I couldn't figure out how to do it.

What I need to get through native is player's clan name
PHP Code:
MembersClan[id
Also an example of this native usage.
Thanks.
__________________

Last edited by Airkish; 11-07-2017 at 17:33.
Airkish is offline
Old 11-07-2017, 18:39
EFFx
This message has been deleted by EFFx. Reason: .
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-07-2017 , 22:17   Re: Return string native
Reply With Quote #2

A little searching found this which has your answer and an example.
__________________
fysiks is offline
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 11-08-2017 , 04:19   Re: Return string native
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
A little searching found this which has your answer and an example.
Somehow I missed this one.

Works like a charm.
Thank you.
__________________
Airkish is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode