SA-MP Forums Archive
DIALOG_STYLE_INPUT - 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: DIALOG_STYLE_INPUT (/showthread.php?tid=381618)



DIALOG_STYLE_INPUT - Anak - 30.09.2012

hello i want to use DIALOG_STYLE_INPUT in script for server
forexample if i player inputs 50000 etc... in DIALOG_STYLE_INPUT
then give player money -50000 $ . hope you will understand
thanks in advance


Re: DIALOG_STYLE_INPUT - Lordzy - 30.09.2012

This must be posted on Script Request Thread.


Re: DIALOG_STYLE_INPUT - Anak - 30.09.2012

i mean some idea... just want to how to know use input values to giveplayermoney -50000


Re: DIALOG_STYLE_INPUT - Desi_Dude - 30.09.2012

You can Search and Have a look on some Filterscripts to have some idea.


Re: DIALOG_STYLE_INPUT - Camacorn - 30.09.2012

Use

Код:
GivePlayerMoney(playerid, GetPlayerMoney(playerid)-50000);
Note: If you have a player stats system do this instead:

Код:
PlayerStatsVariable[playerid][Cash_Variable]=PlayerStatsVariable[playerid][Cash_Variable]-50000;