[HELP]Profit from property
#1

There are some sample script profit on property?

Example
if (Owner == 0)
{
GivePlayerMoney (playerid, -100) / / player buy food
SendClientMessage (playerid, 0xC8C8C8C8, "You bought food.");
}
if (Owner == 1)
{
GivePlayerMoney (Owner, 100);
SendClientMessage (Owner, 0xC8C8C8C8, "You received $ 100 profit.");
}

I know it does not work, but it is just an example.

Thanks!
Reply
#2

Someone to help?
Reply
#3

sorry. idk how.
Reply
#4

You definitly have to explain to us what you want... we truly dont understand what you mean...
Reply
#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
#6

Sorry but that was not what he was looking ♣ ©ⓤⓝⓔⓞ ♣, but thanks.

I found an example that is so confusing, it is a system of LVA (Las Venturas Arena)

http://pastebin.com/f28e8472a

It's just an example, because the script is incomplete.

Does anybody know a system like that??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)