21.06.2013, 16:08
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new name[64];
if(strcmp(GetPlayerName(i, name, sizeof(name)), inputtext, false)// Error Line
{
}
else
{
return ShowPlayerDialog(playerid, 9130,DIALOG_STYLE_INPUT,"Name Lookup","Error: No record of this name exists!\nType a valid name that you would like to lookup.","Search","Cancel");
}
}
}