Code for cash on spawn
#5

Then just use the following to make sure the player only has $5000 on spawn, since you did say you want to set their money and not give them money:

pawn Код:
public OnPlayerSpawn(playerid)
{
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid,5000);
    return 1;
}
You need to use some algorithmic problem solving
Reply


Messages In This Thread
Code for cash on spawn - by David5290 - 29.01.2011, 16:49
Re: Code for cash on spawn - by armyoftwo - 29.01.2011, 16:50
[No subject] - by David5290 - 29.01.2011, 17:06
Re: Code for cash on spawn - by [P4] - 29.01.2011, 17:38
Re: Code for cash on spawn - by JaTochNietDan - 29.01.2011, 17:38
Re: Code for cash on spawn - by David5290 - 29.01.2011, 17:47
Re: Code for cash on spawn - by admantis - 29.01.2011, 17:53
Re: Code for cash on spawn - by JaTochNietDan - 29.01.2011, 17:54
Re: Code for cash on spawn - by David5290 - 29.01.2011, 17:55
Re: Code for cash on spawn - by David5290 - 29.01.2011, 18:00

Forum Jump:


Users browsing this thread: 6 Guest(s)