News problem
#1

Hi all , today i scripted at my FS , and i added new news:
pawn Код:
lista1 = LoadModelSelectionMenu ( "GangsRAS/lista1.cfg"        );
    lista2 = LoadModelSelectionMenu ( "GangsRAS/lista2.cfg"        );
    lista3 = LoadModelSelectionMenu ( "GangsRAS/lista3.cfg"        );
    lista4 = LoadModelSelectionMenu ( "GangsRAS/lista4.cfg"         );
    lista1change = LoadModelSelectionMenu ( "GangsRAS/lista1change.cfg"  );
    lista2change = LoadModelSelectionMenu ( "GangsRAS/lista2change.cfg"  );
    lista3change = LoadModelSelectionMenu ( "GangsRAS/lista3change.cfg"  );
    lista4change = LoadModelSelectionMenu ( "GangsRAS/lista4change.cfg"  );
And it gives me these errors:
pawn Код:
(54) : warning 204: symbol is assigned a value that is never used: "lista1"
(58) : warning 204: symbol is assigned a value that is never used: "lista1change"
(55) : warning 204: symbol is assigned a value that is never used: "lista2"
(59) : warning 204: symbol is assigned a value that is never used: "lista2change"
(56) : warning 204: symbol is assigned a value that is never used: "lista3"
(60) : warning 204: symbol is assigned a value that is never used: "lista3change"
(57) : warning 204: symbol is assigned a value that is never used: "lista4"
(61) : warning 204: symbol is assigned a value that is never used: "lista4change"
But why ? I have all news..
Reply
#2

It says you never used those symbols for anything, so you can remove them and those warnings won't appear.
Reply
#3

Quote:
Originally Posted by TonyII
Посмотреть сообщение
It says you never used those symbols for anything, so you can remove them and those warnings won't appear.
I use first code in OnFilterScriptInit
Reply
#4

Can you show me?
Reply
#5

You only load lists. You should show loaded menus to player by
pawn Код:
ShowModelSelectionMenu(playerid, ListID, header_text[], dialogBGcolor = 0x4A5A6BBB, previewBGcolor = 0x88888899 , tdSelectionColor = 0xFFFF00AA);
and hide by
pawn Код:
HideModelSelectionMenu(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)