Jump to content
  • 0

Probleme Status! CITITI VA ROG!


DanielBz

Question

Va rog sa imi spuneti si mie ca am modificat stusu la un server Roleplay si nu stiu de ce imi apare 6 erori!

Asta este statusul modificat de acum!

		format(coordsstring, sizeof(coordsstring),"-----------------------------| %s |------------------------------------------",name);
		SendClientMessage(playerid, COLOR_RED,coordsstring);
		format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Cash:[$%d] Bank:[$%d] Ph:[%d]", level,atext,age,cash,account,pnumber,drank);
		SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
		format(coordsstring, sizeof(coordsstring), "PlayingHours:[%d] Job:[%s] Respect:[%d/%d] Rob:[%s] DonateRank:[%d]", ptime,bigfish,arrests,jtext,exp,expamount);
		SendClientMessage(playerid, COLOR_GRAD2,coordsstring);
		format(coordsstring, sizeof(coordsstring), "Drugs:[%d] Materials:[%d] Organisation:[%s] Rank:[%s] WantedLevel:[%s]",drugs,mats,ttext,ftext,rtext);
		SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
        format(coordsstring, sizeof(coordsstring), "House key:[%d] Business key:[%d] Veh1:[%d] Veh2:[%d] Veh3:[%d] Hirekey:[%d] int:[%d] virworld:[%d] local:[%d] ", CarInfo[carkey][cDescription], CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]);
        SendClientMessage(playerid, COLOR_GRAD4,coordsstring);
        }
		SendClientMessage(playerid, COLOR_RED,"------------------------------------------------------------------------------------------");
	}
Asta este statusul dinainte!
format(coordsstring, sizeof(coordsstring),"-----------------------------| %s |------------------------------------------",name);
		SendClientMessage(playerid, COLOR_RED,coordsstring);
		format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Cash:[$%d] Bank:[$%d] Ph:[%d]", level,atext,age,cash,account,pnumber,drank);
		SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
		format(coordsstring, sizeof(coordsstring), "PlayingHours:[%d] Job:[%s] Respect:[%d/%d] Rob:[%s] DonateRank:[%d]", ptime,bigfish,arrests,jtext,exp,expamount);
		SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
		format(coordsstring, sizeof(coordsstring), "Drugs:[%d] Materials:[%d] Organisation:[%s] Rank:[%s] WantedLevel:[%s]",drugs,mats,ttext,ftext,rtext);
		SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
		if (PlayerInfo[targetid][pPcarkey] != 999)
		{
		    format(coordsstring, sizeof(coordsstring), "House key:[%d] Business key:[%d] Veh1:[%d] Veh2:[%d] Veh3:[%d] Hirekey:[%d] int:[%d] virworld:[%d] local:[%d] ", CarInfo[carkey][cDescription], CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]);
		    SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
		}
		if (PlayerInfo[playerid][pAdmin] >= 1)
		{
			format(coordsstring, sizeof(coordsstring), "House key [%d] Business key [%d] Vehicle [%d] HireKey [%d] int:[%d] virworld:[%d] local[%d]", housekey,bizkey,carkey,HireCar[targetid],intir,virworld,local);
			SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
		}
		SendClientMessage(playerid, COLOR_RED,"-----------------------------------------------------------------------------------");
	}

Erorile sunt!

C:\Users\Daniel.Daniel-PC\Desktop\Roleplay\gamemodes\nadal.pwn(9774) : warning 204: symbol is assigned a value that is never used: "local"

C:\Users\Daniel.Daniel-PC\Desktop\Roleplay\gamemodes\nadal.pwn(9773) : warning 204: symbol is assigned a value that is never used: "virworld"

C:\Users\Daniel.Daniel-PC\Desktop\Roleplay\gamemodes\nadal.pwn(9772) : warning 204: symbol is assigned a value that is never used: "intir"

C:\Users\Daniel.Daniel-PC\Desktop\Roleplay\gamemodes\nadal.pwn(9770) : warning 204: symbol is assigned a value that is never used: "bizkey"

C:\Users\Daniel.Daniel-PC\Desktop\Roleplay\gamemodes\nadal.pwn(9769) : warning 204: symbol is assigned a value that is never used: "housekey"

C:\Users\Daniel.Daniel-PC\Desktop\Roleplay\gamemodes\nadal.pwn(49131) : warning 203: symbol is never used: "RemoveItems"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          9276 bytes

Code size:          1778124 bytes

Data size:        10461972 bytes

Stack/heap size:      16384 bytes; estimated max. usage=5266 cells (21064 bytes)

Total requirements:12265756 bytes

6 Warnings.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Uite

format(coordsstring, sizeof(coordsstring),"-----------------------------| %s |------------------------------------------",name);
		SendClientMessage(playerid, COLOR_RED,coordsstring);
		format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Cash:[$%d] Bank:[$%d] Ph:[%d]", level,atext,age,cash,account,pnumber,drank);
		SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
		format(coordsstring, sizeof(coordsstring), "PlayingHours:[%d] Job:[%s] Respect:[%d/%d] Rob:[%s] DonateRank:[%d]", ptime,bigfish,arrests,jtext,exp,expamount);
		SendClientMessage(playerid, COLOR_GRAD2,coordsstring);
		format(coordsstring, sizeof(coordsstring), "Drugs:[%d] Materials:[%d] Organisation:[%s] Rank:[%s] WantedLevel:[%s]",drugs,mats,ttext,ftext,rtext);
		SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
        format(coordsstring, sizeof(coordsstring), "House key:[%d] Business key:[%d] Veh1:[%d] Veh2:[%d] Veh3:[%d] Hirekey:[%d] int:[%d] virworld:[%d] local:[%d] ",housekey,bizkey,carkey,carkey1,carkey2,HireCar[targetid],intir,virworld,local);
        SendClientMessage(playerid, COLOR_GRAD4,coordsstring);
        }
		SendClientMessage(playerid, COLOR_RED,"------------------------------------------------------------------------------------------");
	}
Nu sunt sigur dar sar putea sa iti dea erori la  carkey,carkey1,carkey2 Definitie
new carkey = PlayerInfo[targetid][pPcarkey];
		new carkey2 = PlayerInfo[targetid][pPcarkey2];
		new carkey3 = PlayerInfo[targetid][pPcarkey3];

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.