DIALOG_STYLE_INPUT
#1

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
Reply
#2

This must be posted on Script Request Thread.
Reply
#3

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

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

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;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)