how to define a player from dcmd to onplayertext? - 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)
+--- Thread: how to define a player from dcmd to onplayertext? (
/showthread.php?tid=293547)
how to define a player from dcmd to onplayertext? -
Admigo - 29.10.2011
heey all,
I need to know how to define a player from dcmd to onplayertext.
Example : I am busy with the kidnapper job and i made a ransom command.
I can define the kidnapperid and player who enter the text.
But i need to know how i can define the player who is kidnapped.
Because i am making a textdraw with are you sure you wanna ransom the player? 1.yes 2.no
So if you enter 1 you paid his ransom and the player is free to go. The ransom command i made:/ransom id
So i need to define that id.
Anyone can fix this pls?
Thanks Admigo