Big Problem!!
#9

Steps for creation:

1.) Make a new variable using the "new" function.
2.) Put GetPlayerCash function under OnPlayerDisconnect callback.
3.) And, GivePlayerCash function under OnPlayerSpawn callback.

Example :

new pMoney;

OnPlayerSpawn - GivePlayerCash(playerid, {variable} );

OnPlayerDisconnect - - GetPlayerCash(playerid);


---------------------------------------------

Get a database system to store the variable of the cash onto player accounts.
Reply


Messages In This Thread
Big Problem!! - by Akcent_Voltaj - 26.07.2012, 12:39
Re: Big Problem!! - by Akcent_Voltaj - 26.07.2012, 12:55
Re: Big Problem!! - by Cjgogo - 26.07.2012, 12:57
Re: Big Problem!! - by Akcent_Voltaj - 26.07.2012, 13:00
Re: Big Problem!! - by Cjgogo - 26.07.2012, 13:02
Re: Big Problem!! - by Dan. - 26.07.2012, 13:02
Re: Big Problem!! - by Akcent_Voltaj - 26.07.2012, 13:03
Re: Big Problem!! - by Cjgogo - 26.07.2012, 13:06
Re: Big Problem!! - by Marv! - 26.07.2012, 13:07
Re: Big Problem!! - by Akcent_Voltaj - 26.07.2012, 13:13

Forum Jump:


Users browsing this thread: 2 Guest(s)