16.10.2013, 16:05
You need to convert all GivePlayerMoney to GivePlayerCash first thing you must to do
is Create new stock , not only giveplayercash you can change it to all what you want like
BeriPlayerUang or GivePlayerDollars like what you want
After this you must convert all GivePlayerMoney to GivePlayerCash , You can use replace for it
SetPVarInt(playerid, "Cash", GetPVarInt(playerid, "Cash")+money); << This for your variable , if your variable is money or dollar change "Cash" to Money or Dollar , Sorry for my bad english CMIIW
if you want fast replace
find GivePlayerMoney(playerid,
replace with GivePlayerCash(playerid, after it apply to all script what you got, sorry for my bad english iam indonesian
is Create new stock , not only giveplayercash you can change it to all what you want like
BeriPlayerUang or GivePlayerDollars like what you want
Quote:
stock GivePlayerCash(playerid, money) { SetPVarInt(playerid, "Cash", GetPVarInt(playerid, "Cash")+money); GivePlayerMoney(playerid, money); return 1; } |
SetPVarInt(playerid, "Cash", GetPVarInt(playerid, "Cash")+money); << This for your variable , if your variable is money or dollar change "Cash" to Money or Dollar , Sorry for my bad english CMIIW
if you want fast replace
find GivePlayerMoney(playerid,
replace with GivePlayerCash(playerid, after it apply to all script what you got, sorry for my bad english iam indonesian