Money - 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: Money (
/showthread.php?tid=103262)
Money -
_ReloadeD_ - 19.10.2009
how i can Get a Player Cash with Dialog?? i wnat to do a command with Dialog that send cash to some player
Re: Money -
screw - 27.12.2009
Quote:
|
Originally Posted by HITMANBOY
how i can Get a Player Cash with Dialog?? i wnat to do a command with Dialog that send cash to some player
|
CMD:credit(playerid, params[])
{
new String[30];
format(String,sizeof(String),"Your Cash: %d",PlayerCash[playerid]);
SendClientMessage(playerid,0xFFFFFFFF,String);
}
is use this (also found on a other tutorial)
Re: Money -
Luka P. - 27.12.2009
Quote:
|
Originally Posted by screw
Quote:
|
Originally Posted by HITMANBOY
how i can Get a Player Cash with Dialog?? i wnat to do a command with Dialog that send cash to some player
|
CMD:credit(playerid, params[])
{
new String[30];
format(String,sizeof(String),"Your Cash: %d",PlayerCash[playerid]);
SendClientMessage(playerid,0xFFFFFFFF,String);
}
is use this (also found on a other tutorial)
|
That's just a simple cmd.
Look at dialog tutorial.