20.03.2010, 01:54
I would be happy, if you can hep me by the Dialog, thats will be open by
OnPlayerClickPlayer
There is my code.
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.
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$
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
OnPlayerClickPlayer
There is my code.
pawn Код:
if(listitem == 0)
{
ShowPlayerDialog(playerid, Nachricht, DIALOG_STYLE_INPUT, "MSG", "Your message:", "Send", "close");
}
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");
}
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.
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