Player register 10k starting cash
#1

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.
Reply
#2

GivePlayerMoney(playerid, 10000);
Reply
#3

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.
Reply
#4

umm..i am using Los santos script, by ffaff
Reply
#5

find the register command. stick in GivePlayerMoney(playerid,1000);
Reply
#6

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.
Reply
#7

Add GivePlayerMoney when they use /register.
Reply
#8

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.
Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)