Job help - 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)
+--- Thread: Job help (
/showthread.php?tid=429152)
Job help -
DonBonanno - 08.04.2013
How can i change job money ?
Exemple : Farmer Job or Bus Driver...
I wanna give much money at this job..I wanna give 1000$,not 50$ ..please ..what can i do ?
Sorry for my bad english
Re: Job help -
Private200 - 08.04.2013
That's a simply function, and you could just use the samp wiki.
PHP код:
GivePlayerMoney(playerid, 1000);
Use that instead of
PHP код:
GivePlayerMoney(playerid, 50);
Re: Job help -
DonBonanno - 09.04.2013
I don`t have GivePlayerMoney(playerid, ...
When i go to OnPlayerEnterCheckpoint , i find SafeGivePlayerMoney..But i don`t know how can i change money...
Please..where is ?
Re: Job help -
iJumbo - 09.04.2013
Maybe its
pawn Код:
SafeGivePlayerMoney(playerid,SafeGetPlayerMoney(playerid) + Amount);
Search for that "Amount" Var
Re: Job help -
DonBonanno - 09.04.2013
Look..i use Raven`s Roleplay ... Anyone know how can i change that "Amount" I need urgently to change it ...
Re: Job help -
DonBonanno - 10.04.2013
Anyone can help me ?please...
Re: Job help -
Private200 - 10.04.2013
As Jumbo said, try to use this:
PHP код:
SafeGivePlayerMoney(playerid,SafeGetPlayerMoney(playerid) + 1000);
Re: Job help -
Isolated - 10.04.2013
Quote:
Originally Posted by DonBonanno
Look..i use Raven`s Roleplay ... Anyone know how can i change that "Amount" I need urgently to change it ...
|
That's exactly your problem, if you do not understand how to change simple things like amount of money given, then why are you even attempting RP scripts? You should learn before you attempt something, after all, Roleplay has been claimed to be the hardest to script, due to all the individual functions. You should have a read through wiki.sa-mp.com to find out some more about simple functions/native functions, before diving into a RP script, don't run before you can walk buddy.
SA:MP Wiki:
Here
-Mike