Hey How TO Set Cash That Player Rob From Any Shop
Array -> Pickup -> player.Cash
Quote from: MatheuS on Jul 10, 2015, 06:40 AMArray -> Pickup -> player.Cash
Not Found. I Want To Increase Cash.When a Player Rob Bank He Got 1000 I Want To Increase.
Quote from: HustoN on Jul 10, 2015, 08:01 AMQuote from: MatheuS on Jul 10, 2015, 06:40 AMArray -> Pickup -> player.Cash
Not Found. I Want To Increase Cash.When a Player Rob Bank He Got 1000 I Want To Increase.
There would be a function in your Main.nut when player pick up the pickup to set it time and the cash etc go there and find it.It is not usually call Main.nut.
function onPickupPickedUp( player, pickup )
{
if (pickup.Model == 408)
{
PrivMessage( player, Wow You have rob store." );
player.Cash += 2000;
}
Just an example