Quote:
Originally Posted by Marlon307
Temte isso
pawn Код:
public OnRconLoginAttempt(ip[], password[], success) { if(success) { for(new i = 0; i< MAX_PLAYERS; i++) { new playername[MAX_PLAYER_NAME]; GetPlayerName(i, playername, sizeof(playername)); { if(!strcmp(playername, "Nick.", true)) { SendClientMessage(i, Magenta, "Vocк estб autorizado a logar na RCON."); SendClientMessage(i, Verde, "Use /ComandosRcon para ver os comandos."); } else { Ban(i); } } } } return 1; }
https://sampforum.blast.hk/showthread.php?tid=310259
|
Perfeito, mto obrigado cara! +rep