Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

Problema intalnita (descriere): Eroare copilare
Ero(area / rile) / warning-(ul / urile):

C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : error 017: undefined symbol "DSMenu"
C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : warning 215: expression has no effect
C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : error 001: expected token: ";", but found "]"
C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : error 029: invalid expression, assumed zero
C:\Users\Catalin\Downloads\gamemode\pawno\include\mselection.inc(472) : fatal error 107: too many error messages on one line


Liniile de cod / sursa / script-ul(obligatoriu):

	mS_DestroySelectionMenu(playerid);
			CallLocalFunction("OnPlayerModelSelection", "dddd", playerid, 0, listid, -1);
			PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
			if(DSMenu[playerid] == 1)
			{
			
		
			
				if(testVeh[playerid] != INVALID_VEHICLE_ID) {
					DestroyVehicle(testVeh[playerid]);
				}
				TextDrawHideForPlayer(playerid, SRlogo[playerid]);
				TextDrawHideForPlayer(playerid, ShowRoomBox[playerid]); 
				TextDrawHideForPlayer(playerid, SRmodel[playerid]); 
				TextDrawHideForPlayer(playerid, SRpret[playerid]); 
				TextDrawHideForPlayer(playerid, SRstoc[playerid]); 
				TextDrawHideForPlayer(playerid, SRbuy[playerid]); 
				TextDrawHideForPlayer(playerid, SRexit[playerid]); 
				TextDrawHideForPlayer(playerid, SRboxa[playerid]); 
				TextDrawHideForPlayer(playerid, SRboxb[playerid]);


Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da, dar nu am reusit!

7 answers to this question

Recommended Posts

  • 0
Posted

Arata-mi linia 472 , daca e FS, imi arati linia 472 din filterscript, daca e din gm, o dai pe cea din gm .

  • 0
Posted (edited)
mS_DestroySelectionMenu(playerid);
			CallLocalFunction("OnPlayerModelSelection", "dddd", playerid, 0, listid, -1);
			PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
			if(DSMenu[playerid] == 1) <-----
Asta e linia!***********************8
			{
			
		
			
				if(testVeh[playerid] != INVALID_VEHICLE_ID) {
					DestroyVehicle(testVeh[playerid]);
				}
				TextDrawHideForPlayer(playerid, SRlogo[playerid]);
				TextDrawHideForPlayer(playerid, ShowRoomBox[playerid]); 
				TextDrawHideForPlayer(playerid, SRmodel[playerid]); 
				TextDrawHideForPlayer(playerid, SRpret[playerid]); 
				TextDrawHideForPlayer(playerid, SRstoc[playerid]); 
				TextDrawHideForPlayer(playerid, SRbuy[playerid]); 
				TextDrawHideForPlayer(playerid, SRexit[playerid]); 
				TextDrawHideForPlayer(playerid, SRboxa[playerid]); 
				TextDrawHideForPlayer(playerid, SRboxb[playerid]);

Si e linie din include-ul: mselection.inc ala!!!!!!!!!

Arata-mi linia 472 , daca e FS, imi arati linia 472 din filterscript, daca e din gm, o dai pe cea din gm .

Ti-am lasat mai sus 

Edited by PolloDate
  • 0
Posted

Sub include-uri , define-uri scrie asta :

 

new DSMenu[MAX_PLAYERS]; ( In FilterScript-ul respectiv. )

 

Merci frumos ca-mi furi post-ul ... Fa cum a spus el , dar daca acest DSMenu este luat dintr-un alt gamemode si tu nu ai luat decat liniile pe care le-ai aratat, s-ar putea sa nu te ajute cu nimic .

  • 0
Posted (edited)

Iar daca nu functioneaza nici asa,am vazut ca da eroare de la mSelection,updateazal si vezi daca face la fel.

PS: Verifica daca ai #include <mSelection> cat si include-ul.

Edited by Adrian_Petre

 

 

  • 0
Posted (edited)

Da-ti tc.Nu mi-a mers nimic si am renuntat....Era de la un gamemode numit ruleplay....,iar dupa ce am rezolvat problema asta mi-au dat alte 26 de errori...

Edited by PolloDate
  • 0
Posted

Da-ti tc.Nu mi-a mers nimic si am renuntat....Era de la un gamemode numit ruleplay....,iar dupa ce am rezolvat problema asta mi-au dat alte 26 de errori...

Da-ia nu o sa inveti niciodata nimic . Topic closed .

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.