12.11.2012, 13:01
Keep in mind, strcmp returns 0 if the strings match. So to check if the strings don't match you would do
Also, I've been reading your posts lately and this part doesn't make any sense.
How are you even selecting the row that corresponds to the player?
pawn Код:
if(strcmp(save3, GetName(playerid)))
Quote:
The code above supposed to compare the player's name inside the database to his current name in-game. If it doesn't match, then the server will set his name to the one found inside the database. |