#1

I have made checkpoints at my org HQ and it is sposed to show the members of the org in a dialog.

But it only shows when the member is online, how can i do it so it shows even when the member is offline.

pawn Код:
case 1:
    {
    new count;
    for(new i; i<MAX_PLAYERS; i++){
    if(Member[i] == 1)
    GetPlayerName(i,Name,sizeof(Name));
    format(String, sizeof(String), "%s",Name);
    count++;
    ShowPlayerDialog(playerid,19, DIALOG_STYLE_LIST, "San Andreas Police Department.",String,"Back", "Cancel");
    }
Reply
#2

You would have to save it to a file, then read it when they enter the CP.
Reply
#3

What i am saying is that, if i get accepted into SAPD, my name will appear there, but if i leave server, my name will be deleted and when i connect, my name will appear there. So if a player wants to see the members of SAPD and i am offline, they wont see if i am online.
Reply
#4

That's what I'm saying to you, you will have to save the name to a file, and when they enter the CP read the file and show it up on a textdraw, etc.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)