05.09.2011, 16:06
Its the "Register Login". I defined the ShowPlayerDialog in them, so i dont have to have long lines everywhere.
Also i just debugged the script like this:
This is what it shows:
Just the last one doesnt stop.
Also i just debugged the script like this:
pawn Код:
for( new i = 0; i < MAX_FORBIDDEN_NAMES; i ++ )
{
printf("%s start loop", GetName(playerid));
if( strfind( ForbiddenNames[i], GetName(playerid), true ) != -1 )
{
printf("%s forbidden name found", GetName(playerid));
SendClientMessage(playerid, COLOR_ORANGE, " ** We found a forbidden word in your name! Please remove it and re-connect. ");
printf("%s kicked", GetName(playerid));
Kick(playerid);
}
printf("%s end loop", GetName(playerid));
}
Код:
[18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop [18:03:45] Lemmy_Lusion[NL] end loop [18:03:45] Lemmy_Lusion[NL] start loop // 31 time, but doesnt end