[HELP]Job Payment.
#1

Hello.!
How can i go do so only the job with ID 1 get the money?
I got this:
Код:
public OnGameModeInit()
{
	SetTimer("PayTimer",5000,true);
        return 1;
}
Then i got this:
Код:
public PayTimer(playerid)
{
if(GetPlayerJobID(playerid)!=1)
GivePlayerMoney(playerid,300);
}
Its give money to all players. You dont need to be in an job!

Its not working. Can you please help me? And how can i add an job with an other payment?

Thank You!
Reply


Messages In This Thread
[HELP]Job Payment. - by Qaiis - 10.10.2011, 00:11
Re: [HELP]Job Payment. - by Camacorn - 10.10.2011, 00:20
Re: [HELP]Job Payment. - by Hal - 10.10.2011, 00:22
Re: [HELP]Job Payment. - by Qaiis - 10.10.2011, 00:34
Re: [HELP]Job Payment. - by TheLazySloth - 10.10.2011, 00:48
Re: [HELP]Job Payment. - by Qaiis - 10.10.2011, 01:06

Forum Jump:


Users browsing this thread: 1 Guest(s)