02.07.2013, 22:04
You have to show us the variable you give the to check the if player is in event.
This is an example of mine.
This is an example of mine.
pawn Код:
// on event start
new count = 0;
new string[128];
new name1[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(InEvent[i] == 1)
{
GetPlayerName(i,name1,MAX_PLAYER_NAME);
}
}
format(string,sizeof(string), "%s", name1);
ShowPlayerDialog(playerid,10102,DIALOG_STYLE_MSGBOX,"Current Players",string,"Close","");
count++;