InGame Add Favorite Server -
SPA - 23.02.2014
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
Re: InGame Add Favorite Server -
BodyBoardVEVO - 23.02.2014
Show OnPlayerDialogResponse your code
Re: InGame Add Favorite Server -
OnPlayerText - 23.02.2014
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
Re: InGame Add Favorite Server -
SPA - 23.02.2014
Quote:
Originally Posted by BodyBoardVEVO
Show OnPlayerDialogResponse your code 
|
Lol , im wondering if this really can be !
Re: InGame Add Favorite Server -
Avi Raj - 23.02.2014
How da fuck you can add server into fav. By a dialog response.
If you can code it, then you are Z_Less
Re: InGame Add Favorite Server -
SPA - 23.02.2014
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 ******?
Re: InGame Add Favorite Server -
Scenario - 23.02.2014
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...
Re: InGame Add Favorite Server -
Bingo - 23.02.2014
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

.
Re: InGame Add Favorite Server -
Lordzy - 23.02.2014
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; }
|
Re: InGame Add Favorite Server -
SPA - 23.02.2014
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!