Jump to content
  • 0

problema /v


InceMan

Question

Problema:salut , de ceva timp nu reusesc sa dentific problema la sistemul de masini personale deci daca am o masina personala imi merge comanda /v perfect iar daca mai cumpar o masina personala apare bug si la prima masina si la a 2 si nici comanda /v nu mai apare deci mai mult se duplifica masinile va rog respectos sa ma ajutati .
Alte detalii: dau ori ce fel de cod daca mise cere

CMD:v(playerid, params []){
	new string[100],string2[400];
	format(string, sizeof(string), "%s's Vehicles (%d slots)", GetName(playerid), pInfo[playerid][pSlotVeh]);
	new test[15]= "",test2[17] = "{00BA19}Unlocked",test3[18] = "{00BA19}Spawned";
	string2 = "Name\t Status\t Spawn\t Class";
	for(new i = 0; i < 4; ++i)
	{
		if Veh[playerid][i][Owner] == pInfo[playerid][pID] *then 
		{
			if Veh[playerid][i][vTax] > 0 *then test = "{BD0000}seized";
			if Veh[playerid][i][Lock] > 0 *then test2 = "{BD0000}Locked";
			if Veh[playerid][i][vSp] > 0 *then test3 = "{BD0000}Despawned";
			format(string2, sizeof(string2), "%s\n%s%s\t%s\t%s\t%s", string2, g_VehicleNames[Veh[playerid][i][Model] -400], test, test2, test3, Veh[playerid][i][Class]);
		}
	}
	ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_TABLIST_HEADERS, string, string2, "Select", "Cancel");
	return true;
}

 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.