strcmp
#2

if CarInfo[i][vOwner] or PlayerName(playerid) is an empty string, strcmp will act unexpectedly and tell you that they match. Otherwise, the strcmp looks fine. What does PlayerName look like? A debug message with the values of CarInfo[i][vOwner] and PlayerName(playerid) would be good.
Reply


Messages In This Thread
strcmp - by Jack_Leslie - 04.10.2011, 03:46
Re: strcmp - by mkr - 04.10.2011, 04:09
Re: strcmp - by Jack_Leslie - 04.10.2011, 04:12
Re: strcmp - by mkr - 04.10.2011, 04:16
Re: strcmp - by Jack_Leslie - 04.10.2011, 04:18
Re: strcmp - by mkr - 04.10.2011, 04:24
Re: strcmp - by Jack_Leslie - 04.10.2011, 04:31
Re: strcmp - by Toni - 04.10.2011, 04:36
Re: strcmp - by Jack_Leslie - 04.10.2011, 04:38
Re: strcmp - by Toni - 04.10.2011, 04:49

Forum Jump:


Users browsing this thread: 3 Guest(s)