Player register 10k starting cash -
Ponii - 07.04.2013
Player register 10k starting cash
How do i put this? I cant CTRL + F the money for register right because it is set to 0.
Re: Player register 10k starting cash -
BigGroter - 07.04.2013
GivePlayerMoney(playerid, 10000);
Re: Player register 10k starting cash -
Deal-or-die - 07.04.2013
pawn Код:
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid, 10000);
EDIT:
Wait a second.... That will give them $10,000 every time they spawn :P
Umm...
What's at the end of your registration system? Are you using dialogues? Show is the last bit of dialogue in your registration system.
Re: Player register 10k starting cash -
Ponii - 07.04.2013
umm..i am using Los santos script, by ffaff
Re: Player register 10k starting cash -
DobbysGamertag - 07.04.2013
find the register command. stick in GivePlayerMoney(playerid,1000);
Re: Player register 10k starting cash -
Ponii - 07.04.2013
Quote:
Originally Posted by DobbysGamertag
find the register command. stick in GivePlayerMoney(playerid,1000);
|
But 100 logins = 10000 (10k)..
i only want it when they register.
Re: Player register 10k starting cash -
ReVo_ - 07.04.2013
Add GivePlayerMoney when they use /register.
Re: Player register 10k starting cash -
x96664 - 07.04.2013
If you're having a roleplay server or kinda, and there is tutorial/first spawn function you can just add GivePlayerMoney(playerid, 10000); and it will not give them money on every spawn.
Re: Player register 10k starting cash -
Ceez - 07.04.2013
Check your enum, There should be pMoney or pCash, anything like that.
Hit CTRL+F, search for the DIALOG_REGISTER or your CMD:Register or /register , however you got it as,
Scroll down til you see the Callback [public Something] that is the one creating the account info, in my script it's NewPlayerData.
find the pMoney / pCash / Money / Cash / whatever, see the original value - can be 800$, 0$, anything.
Set it to the desired amount and in your case it would be 10,000$
In my script:
INI_WriteInt("Money",1000);
I can set it to any, I bet with some time you can too.