Jump to content

Recommended Posts

Posted (edited)

Este o problema de la tine , la mine merge totul perfect.

Pai si ce as putea sa fac, gen cand importez o alta baza de date imi merge.

Edited by Dragosz0r
Posted

Cum rezolv bugul acela gen cand intru in banca ls, id: 1, iar cand ies din banca ma da la banca din sf, id: 56.

Mai este bug si la factiunile F.B.I si la School Instructors Ls, la s.i ls cand imi dau spawn ma da in hq dar nu este pus corent interiorul se vede totul alb, iar la f.b.i cand ies din hq ma da la sfpd.

Posted (edited)

Cum rezolv bugul acela gen cand intru in banca ls, id: 1, iar cand ies din banca ma da la banca din sf, id: 56.

Mai este bug si la factiunile F.B.I si la School Instructors Ls, la s.i ls cand imi dau spawn ma da in hq dar nu este pus corent interiorul se vede totul alb, iar la f.b.i cand ies din hq ma da la sfpd.

Coordonatele de iesire eX, eY si eZ de la HQ FBI sunt setate cu coordonatele de la iesirea din SFPD, poti rezolva usor asta.

Tutorial explicit: Intri pe joc, mergi la HQ FBI dai /save, dupa aceea intri pe localhost/phpmyadmin - baza de date - Faction - FBI - eX, eY, eZ si pui coordonatele tale (mai exact coordonatele ar trebui sa fie acestea la eX:  628.002 | eY: -571.846 | eZ: 17.4348 si dupa schimba si pozitia seifului in orice alta parte comanda este /gsafepos si acest 'bug' s-a rezolvat).

La Banca LS e aproape la fel, voi testa si eu aceasta chestie sa vad daca e de la tine sau asa e setat din GM. 

Si nu este bug la S.I cand iti dai spawn te da la HQ pentru ca acolo este setat spawn-ul la factiune, daca folosesti o alta baza de date decat cea din GM este posibil ca interiorul sa fie altul intr-un alt vw, am nevoie de o poza ceva sa-mi dau seama.

Daca mai ai nevoie de support contact skype: Alex.Jivan1

 

Am si eu o intrebare, adica nu e intrebare am nevoie de un link firework are cineva?

Poza cu eroarea care o primesc: http://imgur.com/a/tcmh7

Edited by Lexxu
Posted

Imi puteti da si mie comanda /swapcolors si apropo la acest gamemode cum pot rezolva bugul de la clan, nu se salveaza cand dau rr?

Posted

Imi puteti da si mie comanda /swapcolors si apropo la acest gamemode cum pot rezolva bugul de la clan, nu se salveaza cand dau rr?

CMD:swapcolors(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
	if(IsPlayerConnected(playerid))
	{
		if(GetPlayerCash(playerid) < 5000) return SendClientMessage(playerid, COLOR_GREY,"You don't have enough money.");
		if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_WHITE,"You are not in your car.");
		new VehI = GetPlayerVehicleID(playerid),idcar=-1;
		for(new vv; vv < MAX_PERSONAL_VEHICLES; vv++)
		{
			if(VehI == PlayerInfo[playerid][pCarID][vv])
			{
				idcar = vv;
			}
		}
		if(idcar == -1) return SendClientMessage(playerid, COLOR_WHITE, "You are not in your car.");
		if(VehI == PlayerInfo[playerid][pCarID][idcar])
		{
			new color1 = PlayerInfo[playerid][pCarColor1][idcar], color2 = PlayerInfo[playerid][pCarColor2][idcar];
			PlayerInfo[playerid][pCarColor1][idcar] = color2;
			PlayerInfo[playerid][pCarColor2][idcar] = color1;
			ChangeVehicleColor(VehI, PlayerInfo[playerid][pCarColor1][idcar], PlayerInfo[playerid][pCarColor2][idcar]);
			GivePlayerCash(playerid, -5000);
			Update(playerid, pCashx);
			cUpdate(playerid, idcar, cColorOnex);
			cUpdate(playerid, idcar, cColorTwox);
			SendClientMessage(playerid,COLOR_WHITE, "Culorile masinii au fost schimbate!");
			GameTextForPlayer(playerid, "~r~-$5.000", 5000, 1);
		}
	}
	return 1;
}

la aia cu clanul e mult de munca.

Posted

Salut, cum conectez baza de date pe un localhost

 

Problema este ca nu ma lasa sa ma loghez, bag parola dorita si dupa imi da password faild ... si nu stiu ce sa-i fac

Posted

Salut, cum conectez baza de date pe un localhost

 

Problema este ca nu ma lasa sa ma loghez, bag parola dorita si dupa imi da password faild ... si nu stiu ce sa-i fac

Ai nevoie de programul XAMPP, cand te conectezi la baza de date nu ai nevoie de parola, se conecteaza automat cand folosesti acest link 'localhost/phpmyadmin'.

 

CMD:swapcolors(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
	if(IsPlayerConnected(playerid))
	{
		if(GetPlayerCash(playerid) < 5000) return SendClientMessage(playerid, COLOR_GREY,"You don't have enough money.");
		if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_WHITE,"You are not in your car.");
		new VehI = GetPlayerVehicleID(playerid),idcar=-1;
		for(new vv; vv < MAX_PERSONAL_VEHICLES; vv++)
		{
			if(VehI == PlayerInfo[playerid][pCarID][vv])
			{
				idcar = vv;
			}
		}
		if(idcar == -1) return SendClientMessage(playerid, COLOR_WHITE, "You are not in your car.");
		if(VehI == PlayerInfo[playerid][pCarID][idcar])
		{
			new color1 = PlayerInfo[playerid][pCarColor1][idcar], color2 = PlayerInfo[playerid][pCarColor2][idcar];
			PlayerInfo[playerid][pCarColor1][idcar] = color2;
			PlayerInfo[playerid][pCarColor2][idcar] = color1;
			ChangeVehicleColor(VehI, PlayerInfo[playerid][pCarColor1][idcar], PlayerInfo[playerid][pCarColor2][idcar]);
			GivePlayerCash(playerid, -5000);
			Update(playerid, pCashx);
			cUpdate(playerid, idcar, cColorOnex);
			cUpdate(playerid, idcar, cColorTwox);
			SendClientMessage(playerid,COLOR_WHITE, "Culorile masinii au fost schimbate!");
			GameTextForPlayer(playerid, "~r~-$5.000", 5000, 1);
		}
	}
	return 1;
}
la aia cu clanul e mult de munca.

Da, dar gen este problema la baza de date, adica nu aifacut tabelele si modul de salvare sau este problema din gamemode sa stiu de unde sa incep))))?

  • 2 weeks later...
Posted

Ma poate ajuta si pe mine cineva? Cand intru pe server, scriu parola la inregistrare si dupa la login scrie ca e gresita, am modificat tot pentru baza de date si nu merge! Help me please

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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

By using this site, you agree to our Terms of Use. 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.

moduri samp