What am I doing wrong?
#9

The strcmp is fine. Do this
Код:
SendClientMessage(playerid, 0xAAAAAA, vehInfo[v][Owner]);
if(strcmp(vehInfo[v][Owner], p_Name, false) == 0)
to check if the string is not empty. If it is, then strcmp will also return 0
Reply


Messages In This Thread
What am I doing wrong? - by 2KY - 16.02.2012, 22:02
Re: What am I doing wrong? - by Twisted_Insane - 16.02.2012, 22:10
Re: What am I doing wrong? - by 2KY - 16.02.2012, 22:17
Re: What am I doing wrong? - by Smacky - 16.02.2012, 22:20
Re: What am I doing wrong? - by 2KY - 16.02.2012, 22:22
Re: What am I doing wrong? - by Twisted_Insane - 16.02.2012, 22:23
Re: What am I doing wrong? - by 2KY - 16.02.2012, 22:25
Re: What am I doing wrong? - by Shetch - 16.02.2012, 22:37
Re: What am I doing wrong? - by dice7 - 16.02.2012, 22:41
Re: What am I doing wrong? - by 2KY - 16.02.2012, 22:57

Forum Jump:


Users browsing this thread: 1 Guest(s)