30.09.2014, 07:36
Hello how to check name from mysql?
Код:
new name[MAX_PLAYER_NAME+1]; GetPlayerName(clickedplayerid, name, sizeof(name)); if(!strcmp(name, DyrikData[clickedplayerid][Direktorius])) //PlayerName (SQL - accounts), DirectorName(SQL - jobdirectors), i want if playername == directorname got Where director in job { if(DyrikData[clickedplayerid][DarboID] == 1) dyrikas = "Police"; } else { if(DyrikData[clickedplayerid][DarboID] == 0) dyrikas = "No have"; }