strcmp
#1

pawn Код:
if(strcmp(ip, load[3], true, 15) == 0) {
Both strings are the same (ip, load[3]), but it doesn't execute further?
Reply
#2

Why bother specifying a length? Also the maximum length of an IP address is 16 characters, so yeah...
Reply
#3

In that case you won't need 'true' or '15'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)