OnPlayerClickPlayer + Dialog help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerClickPlayer + Dialog help (
/showthread.php?tid=135314)
OnPlayerClickPlayer + Dialog help -
_soad_ - 20.03.2010
I would be happy, if you can hep me by the Dialog, thats will be open by
OnPlayerClickPlayer
There is my code.
pawn Код:
if(listitem == 0)
{
ShowPlayerDialog(playerid, Nachricht, DIALOG_STYLE_INPUT, "MSG", "Your message:", "Send", "close");
}
There i need a PM.
For example.
Player write in Dialog somethink and push Send, so can see the message the other player, on that you had clicked.
SendClientMessage or somethink.
pawn Код:
if(listitem == 1)
{
ShowPlayerDialog(playerid, Geld, DIALOG_STYLE_INPUT, "Transfer", "How much you want to transfer?:", "Transfer", "close");
}
There i would be happy, when you could make a Transfer system.
For example:
Player write 200 in the Dialog.
So became the other player his 200$
pawn Код:
if(listitem == 2)
{
// Teleport the Player to the other one.
At last i need a Teleport.
When the User A clicks on the User B, and choose Teleport in the dialog, so teleport to them.
Pls could help some one?
-Soad
Re: OnPlayerClickPlayer + Dialog help -
[WSM]Deadly_Evil - 20.03.2010
Find Click PM system

That would help in Transfer codes also!
and for the teleport
pawn Код:
if(listitem == 2)
{
SetPlayerPos("X,Y,Z");
Re: OnPlayerClickPlayer + Dialog help -
_soad_ - 20.03.2010
But how to make now, that i will teleport to the people on which i clicked before?
Again:
When i click on a player in the Serverlist, its open the dialog.
Re: OnPlayerClickPlayer + Dialog help -
_soad_ - 20.03.2010
Finaly i could make the PM system.
But i now i need the Money Transfer and the Teleport. :S