Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Cria ai no topo
- new NicksProibidos[][MAX_PLAYER_NAME] =
- {
- "com1",
- "com2",
- "com3",
- "com4",
- "com5",
- "com6",
- "com7",
- "com8",
- "com9",
- "lpt1",
- "lpt2",
- "lpt3",
- "lpt4",
- "lpt5",
- "lpt6",
- "lpt7",
- "lpt8",
- "lpt9",
- "prn",
- "nul",
- "con",
- "con1",
- "aux",
- "aux1",
- };
- // Poe no começo do OnPlayerConnect
- new
- nomenoob[24];
- GetPlayerName(playerid, nomenoob, 24);
- for(new i; i < sizeof(NicksProibidos); i++)
- {
- if(strcmp(NicksProibidos[i], nomenoob, true) == 0)
- {
- SetPlayerName(playerid, "[NWD]0wn4_");
- BanEx(playerid, "BOT FDP");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment