02.04.2013, 12:07
Alright, found the tutorial. https://sampforum.blast.hk/showthread.php?tid=419858
I already mentioned that
But I was not sure, because [retard]I thought it was too long to be printed[/retard]
Thanks!
Quote:
|
It might be that PlayerInfo[playerid][Pass] is empty if you use a MySQL plugin that's newer than R8. The script tries to do something like "sizeof(PlayerInfo[playerid][Pass])" which will not return 129 as you expect it to (read more about this on the forum, there's even one tutorial about it).
Also, for future easiness, learn how you debug. You could've become aware of the issue easily if you had just printed the two strings you're comparing prior to the strcmp call. printf is your buddy. |
But I was not sure, because [retard]I thought it was too long to be printed[/retard]
Thanks!


