Raised This Month: $ Target: $400
 0% 

Constant string return only first letter...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-06-2014 , 09:13   Re: Constant string return only first letter...
Reply With Quote #1

Then it probably means there is a null character for some reason. Try outputting first few letters of the string as they are integers, so you could see their values. Like so:
PHP Code:
// 16 characters should be enough for testing purposes?
for(new 016i++)
       
log_amx("g_szAdminPrefixes[3][string][%i] = %i"ig_szAdminPrefixes[3][string][i]); 
and post here the output you got.

Last edited by klippy; 08-06-2014 at 09:15.
klippy 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 13:16.


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