Raised This Month: $ Target: $400
 0% 

[SOLVED] Why doesn't this NPC Code works ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 01-09-2015 , 12:49   Re: [HELP] Why doesn't this NPC Code works ?
Reply With Quote #1

My bad, the code looks a mess.

if ( szData[ 0 ] == ';' || strlen( szData ) < 10 )
continue;

I guess that's the problem, szData is higher than 10
__________________
Jhob94 is offline
yan1255
Senior Member
Join Date: Jul 2011
Old 01-09-2015 , 12:55   Re: [HELP] Why doesn't this NPC Code works ?
Reply With Quote #2

Quote:
Originally Posted by Jhob94 View Post
My bad, the code looks a mess.

if ( szData[ 0 ] == ';' || strlen( szData ) < 10 )
continue;

I guess that's the problem, szData is higher than 10
If szData is higher than 10 that mean the code will go through...
__________________
yan1255 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 15:23.


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