[closed]Thnx for helping me.
#1

Hello how i give people money when they are for the first time logged in and if thet are coming back later that they still have the money
plz help me.


gr marnick
Reply
#2

If you mean give them money after they register?

Just automatically log em in from your register area and give them the money.
Reply
#3

yea after they registerd that the only get once money automaticly
Reply
#4

pawn Код:
OnPlayerRegister(blablabla)
{
.....
//end of code:
GivePlayerMoney(playerid,5000); //Gives 5000 when the player registers
return 1;
Obviously you can't register more then once.
Reply
#5

k thnx ill try it out ehm where can i find OnPlayerRegister
Reply
#6

What admin system you're using?
Reply
#7

ehm none yet im trying to find a little bit basic one that has a pwn are is on pastebin/solidfiel and stuff found 1 basic but there were line nrs
Reply
#8

Use some admin system like Lethal admin script there is very easy to make this.
Reply
#9

thnx ill search it and then ill try it
Reply
#10

ok i got it and ehm i could chage this?
Код:
		dini_Set(file,"RegisteredDate",strdate);
		dUserSetINT(PlayerName2(playerid)).("loggedin",1);
		dUserSetINT(PlayerName2(playerid)).("banned",0);
		dUserSetINT(PlayerName2(playerid)).("level",0);
	  dUserSetINT(PlayerName2(playerid)).("LastOn",0);
  	dUserSetINT(PlayerName2(playerid)).("money",0);
  	dUserSetINT(PlayerName2(playerid)).("kills",0);
	  	dUserSetINT(PlayerName2(playerid)).("deaths",0);
and then change the "money",0); to "money",here amount);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)