Jump to content
  • 0

Problema sistem clan


CristianC

Question

Cand dau restart la server, banii din seif se iau iar de la 0, iar la clan zones nu apare de cine e detinut, iar daca ma duc sa ii dau /spray, zice ca o detin deja.

La clan zones:

				case 6: {
					new zone[ 30 ]; gString[ 0 ] = (EOS);
					format( gString, sizeof gString, "#ID\tClan\tZona\n" );
					for( new i = 1; i <= serverClanZones; i++ ) {
						if( !clanZoneVariables[ i ][ clanZoneClan ] ) format( string, sizeof string, "Nimeni" );
						else format( string, sizeof string, "%s", clanVariables[ clanZoneVariables[ i ][ clanZoneClan ] ][ clanName ] );
						Get3DZone( clanZoneVariables[ i ][ clanZoneObjX ], clanZoneVariables[ i ][ clanZoneObjY ], clanZoneVariables[ i ][ clanZoneObjZ ], zone, 30 );
						format( gString, sizeof gString, "%s#%d\t%s\t%s\n", gString, i, string, zone );

La seif:

				case 4: {
					gString[ 0 ] = (EOS);
					format( gString, sizeof gString, "{FFFFFF}Clanul tau are la dispozitie {AA3333}%s${FFFFFF}.\nBanii acestia se castiga la fiecare zona de clan castigata.\nCu acesti bani puteti cumpara vehicule clanului.", FormatNumber( clanVariables[ PlayerInfo[ playerid ][ pClan ] ][ clanSafe ] ) );
					ShowPlayerDialog( playerid, DIALOG_GOL, DIALOG_STYLE_MSGBOX, "Clan safe:", gString, "Ok", "" );
				}

Mentionez ca nu am dialog_gol, doar e definit.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Acum 18 ore, CristianC a spus:

Cand dau restart la server, banii din seif se iau iar de la 0, iar la clan zones nu apare de cine e detinut, iar daca ma duc sa ii dau /spray, zice ca o detin deja.

La clan zones:


				case 6: {
					new zone[ 30 ]; gString[ 0 ] = (EOS);
					format( gString, sizeof gString, "#ID\tClan\tZona\n" );
					for( new i = 1; i <= serverClanZones; i++ ) {
						if( !clanZoneVariables[ i ][ clanZoneClan ] ) format( string, sizeof string, "Nimeni" );
						else format( string, sizeof string, "%s", clanVariables[ clanZoneVariables[ i ][ clanZoneClan ] ][ clanName ] );
						Get3DZone( clanZoneVariables[ i ][ clanZoneObjX ], clanZoneVariables[ i ][ clanZoneObjY ], clanZoneVariables[ i ][ clanZoneObjZ ], zone, 30 );
						format( gString, sizeof gString, "%s#%d\t%s\t%s\n", gString, i, string, zone );

La seif:


				case 4: {
					gString[ 0 ] = (EOS);
					format( gString, sizeof gString, "{FFFFFF}Clanul tau are la dispozitie {AA3333}%s${FFFFFF}.\nBanii acestia se castiga la fiecare zona de clan castigata.\nCu acesti bani puteti cumpara vehicule clanului.", FormatNumber( clanVariables[ PlayerInfo[ playerid ][ pClan ] ][ clanSafe ] ) );
					ShowPlayerDialog( playerid, DIALOG_GOL, DIALOG_STYLE_MSGBOX, "Clan safe:", gString, "Ok", "" );
				}

Mentionez ca nu am dialog_gol, doar e definit.

Deci la banii din seif sunt 2 posibilitati:

1. Nu ii salvezi in db 

2. Nu incarci bine din db

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.