[Help] Setting Default Money
#1

Hello , i want to know how to set player default money after registration . I want to give 5k to every player when he register .
Reply
#2

just add amount where account register example of mine..

pawn Код:
INI_WriteInt(ACCOUNT, "Cash", 5000);
Reply
#3

https://sampwiki.blast.hk/wiki/Function:GivePlayerMoney
- Use that function to give player money.
Reply
#4

I made the registration system from the following tutorial . Now where can i change the default money

https://sampforum.blast.hk/showthread.php?tid=273088
Reply
#5

Quote:
Originally Posted by Arxalan
Посмотреть сообщение
I made the registration system from the following tutorial . Now where can i change the default money

https://sampforum.blast.hk/showthread.php?tid=273088
I guess, under
Код:
public OnDialogResponse
change
Код:
INI_WriteInt(File,"Cash",0);
to
Код:
INI_WriteInt(File,"Cash",10000);
for example. (as far as I've seen)
Reply
#6

Man i made the same login system

Type under OnDialogResponse in the register dialog

PHP код:
GivePlayerMoney(playerid5000); 
That is all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)