Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] Can't return string on functions?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-22-2017 , 21:08   [ H3LP ] Can't return string on functions?
Reply With Quote #1

Hello, why I can't return string on functions?

Example:

Code:
get_player_name(id) {     new szName[32]     get_user_name(id, szName, charsmax(szName))         return szName; }

Other little question, it's really needed add " ; " after all code if applicable?
__________________









Last edited by CrazY.; 06-23-2017 at 00:41.
CrazY. is offline
 



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 23:12.


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