Fvault system
Can someone help me with fvault system?
this is the code Code:
SavePoints(id)but when i disconnect and connect again points 0 , level 0 , xp 0... load function isn't good ... can someone fix this? i want to load all 3 xp , lvl , points in one file |
Re: Fvault system
show your public of disconnect and connect
|
Re: Fvault system
Quote:
that code is problem if i create loadpoints for only points . Load is correct . If i create loadpoints for xp /lvl /points load isn't good.. public client_putinserver( id ) { if( is_user_bot( id ) ) return PLUGIN_CONTINUE; get_user_name( id, g_szName[ id ], sizeof ( g_szName[] ) -1 ); LoadPoints( id ); g_iUserTime[ id ] = 0; set_task(1.0, "MesajHUD", id+TASK_MESAJHUD, _, _, "b"); g_bUserHas[ id ][ INVIS ] = false; g_bUserHas[ id ][ SPEED ] = false; g_bUserHas[ id ][ GRAVITY ] = false; return PLUGIN_CONTINUE; } public client_disconnect( id ) { if( is_user_bot( id ) ) return PLUGIN_CONTINUE; SavePoints( id ); g_bUserHas[ id ][ INVIS ] = false; g_bUserHas[ id ][ SPEED ] = false; g_bUserHas[ id ][ GRAVITY ] = false; hnsxp_playerlevel[ id ] = 0; hnsxp_playerxp[ id ] = 0; g_iUserPoints[id] = 0; return PLUGIN_CONTINUE; } |
Re: Fvault system
Please help me.. i don't fix problem witf nvault i try with this
Quote:
|
| All times are GMT -4. The time now is 17:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.