[HELP]Profit from property - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Profit from property (
/showthread.php?tid=111229)
[HELP]Profit from property -
Lucas Giovanni - 30.11.2009
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!
Re: [HELP]Profit from property -
Lucas Giovanni - 30.11.2009
Someone to help?
Re: [HELP]Profit from property -
Camacorn - 30.11.2009
sorry. idk how.
Re: [HELP]Profit from property -
playdead - 30.11.2009
You definitly have to explain to us what you want... we truly dont understand what you mean...
Re: [HELP]Profit from property -
[NYRP]Mike. - 30.11.2009
At top of script:
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.");
}
Re: [HELP]Profit from property -
Lucas Giovanni - 30.11.2009
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??