[HELP]Profit from property
#5

At top of script:

pawn Код:
new Owner[MAX_PLAYERS];
pawn Код:
if (Owner[playerid != 1)
{
GivePlayerMoney (playerid, -100) / / player buy food
SendClientMessage (playerid, 0xC8C8C8C8, "You bought food.");
}
else if (Owner[playerid] == 1)
{
GivePlayerMoney (Owner, 100);
SendClientMessage (Owner, 0xC8C8C8C8, "You received $ 100 profit.");
}
Reply


Messages In This Thread
[HELP]Profit from property - by Lucas Giovanni - 30.11.2009, 16:04
Re: [HELP]Profit from property - by Lucas Giovanni - 30.11.2009, 18:20
Re: [HELP]Profit from property - by Camacorn - 30.11.2009, 19:57
Re: [HELP]Profit from property - by playdead - 30.11.2009, 20:00
Re: [HELP]Profit from property - by [NYRP]Mike. - 30.11.2009, 21:20
Re: [HELP]Profit from property - by Lucas Giovanni - 30.11.2009, 22:49

Forum Jump:


Users browsing this thread: 1 Guest(s)