23.05.2011, 19:05
im trying to make it so when you try to login it just says "wrong password" but it says SERVER: bad admin password etc
anyway to fix it?
heres the code
and a picture of the text
anyway to fix it?
heres the code
Код:
public OnRconLoginAttempt(ip[], password[], success) { if(!success) { new pip[16]; for(new i=0; i<MAX_PLAYERS; i++) { GetPlayerIp(i, pip, sizeof(pip)); if(!strcmp(ip, pip, true)) { SendClientMessage(i, 0xFFFFFFFF, "Wrong Password."); return 1; } } } return 1; }
