InGame Add Favorite Server
#1

What if there are function allow the players add the server in-game?

Код:
OnPlayerSpawn
{
ShowPlayerDialog(playerid, SAMP_FAV, DIALOG_STYLE_LIST, "Add Server to Favorite\nDo you want to add the server to your SA-MP favorites?","","Yes", "Later");
}
isnt good idea ? :P
Reply
#2

Show OnPlayerDialogResponse your code
Reply
#3

Why on earth would someone probably try to add another server or a list of his Favourate servers in a server....
Normally people consider even typing the ip of the server as advertisement
Reply
#4

Quote:
Originally Posted by BodyBoardVEVO
Посмотреть сообщение
Show OnPlayerDialogResponse your code
Lol , im wondering if this really can be !
Reply
#5

How da fuck you can add server into fav. By a dialog response.
If you can code it, then you are Z_Less
Reply
#6

Quote:
Originally Posted by Avi Raj
Посмотреть сообщение
How da fuck you can add server into fav. By a dialog response.
If you can code it, then you are Z_Less
Lol ! ,I never saied that i can but i just maked a suggestion

Edit:
Z_Less or ******?
Reply
#7

He's saying that he wants it (ability to add a server to a client's favorites list from a server-side function) as a possibility in the future. Unfortunately, I have a feeling that this won't ever be implemented server-side. Perhaps via a client-side function, but it's almost unnecessary. You can just get the IP/hostname and add it like you do now.

If it was a server-side feature, every server would simply add their server to a client's favorites list...
Reply
#8

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
He's saying that he wants it (ability to add a server to a client's favorites list from a server-side function) as a possibility in the future. Unfortunately, I have a feeling that this won't ever be implemented server-side. Perhaps via a client-side function, but it's almost unnecessary. You can just get the IP/hostname and add it like you do now.

If it was a server-side feature, every server would simply add their server to a client's favorites list...
Then, Favorite list will be equal to internet list .
Reply
#9

Quote:
Originally Posted by Avi Raj
Посмотреть сообщение
How da fuck you can add server into fav. By a dialog response.
If you can code it, then you are Z_Less
He doesn't actually need to be such a person to do that. There are people who could do more or less than them. This could be done if you're thinking as a function, but it might require functions which would do editions to the SA-MP client. It might not be possible just by getting into the server, but the client should also have the patch files to get it performed. I don't support it even if it'd come as a request (could be probably abused like advertisements on the fucking websites). Or, just do like Drebin posted:

Quote:
Originally Posted by Drebin
Посмотреть сообщение
It's possible:

pawn Код:
public OnPlayerSpawn(playerid)
{
    ShowPlayerDialog(playerid, SAMP_FAV, DIALOG_STYLE_LIST, "Add Server to Favorite\nDo you want to add the server to your SA-MP favorites?","","Yes", "Later");
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == SAMP_FAV)
    {
        if(response == 1) SendClientMessage(playerid, -1, "Write down 127.0.0.1:7777, click 'add server' in your SA-MP client and enter this address. It's not that difficult!");
    }
    return 1;
}
Reply
#10

Quote:
Originally Posted by Lordz™
Посмотреть сообщение
He doesn't actually need to be such a person to do that. There are people who could do more or less than them. This could be done if you're thinking as a function, but it might require functions which would do editions to the SA-MP client. It might not be possible just by getting into the server, but the client should also have the patch files to get it performed. I don't support it even if it'd come as a request (could be probably abused like advertisements on the fucking websites). Or, just do like Drebin posted:
Alright!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)