03.10.2016, 21:23
'-' [...]
acho q ta certo .. .-.
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
new Nome[24];
for(new i = 0; i < MAX_PLAYERS; ++ i){
GetPlayerName(i, Nome, 24);
if(strfind(Nome(i),"Pedro_Eduardo",true)){
return 1;
}else{
Kick(i);
}
}
return 1;
}
stock Nome(playerid)
{
new pNome[MAX_PLAYER_NAME];
GetPlayerName(playerid, pNome, 24);
return pNome;
}