20.06.2010, 18:49
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
plz help me.
gr marnick
OnPlayerRegister(blablabla)
{
.....
//end of code:
GivePlayerMoney(playerid,5000); //Gives 5000 when the player registers
return 1;
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);