Code for cash on spawn
#8

Okay well then make use of OnPlayerDeath and OnPlayerConnect.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    GivePlayerMoney(playerid,-2000);
    return 1;
}

public OnPlayerConnect(playerid)
{
    GivePlayerMoney(playerid,5000);
    return 1;
}
I hope that helps!
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: 1 Guest(s)