[Include] [0.3X] mSelection 1.1 R3 - Create Model Preview Menus with a few lines of code

Can someone give me an example how to add titles/prices to items?
Reply

Awesome Release homes!
Reply

I'm having these errors while compiling the gamemode. I will be so thankful if someone can help me fixing these errors. Thank you for advance.



PHP код:
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(306) : error 001expected token"-identifier-"but found "-integer value-"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(307) : error 001expected token"-identifier-"but found "-integer value-"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(434) : error 001expected token"-identifier-"but found "("
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(439) : error 010invalid function or declaration
C
:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(192) : error 017undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(196) : error 017undefined symbol "PlayerTextDrawSetPreviewModel"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(197) : error 017undefined symbol "PlayerTextDrawSetPreviewRot"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(189) : warning 203symbol is never used"mZoom"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(189) : warning 203symbol is never used"Zrot"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(189) : warning 203symbol is never used"Yrot"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(189) : warning 203symbol is never used"Xrot"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\pawno\include\mSelection.inc(189) : warning 203symbol is never used"modelindex"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(1317) : error 017undefined symbol "YSI_g_MinigamerC"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(1320) : error 017undefined symbol "YSI_g_MinigamerS"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(1320) : error 017undefined symbol "YSI_g_MinigamerA"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(1320) : warning 215expression has no effect
C
:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(1320) : error 001expected token";"but found "]"
C:\Documents and Settings\abc\Desktop\Age Of Marvel\gamemodes\blank.pwn(1320) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
12 Errors

Your Friend And the one who is gonna be King of The Pirates-MonkeyD.Luffy
Reply

bug you include press ESC ! 1.1 R3
Reply

How can I use this, but also display text with each item in the list? For example, displaying all vehicles, I'd like the model names to be shown too. Thankss
Reply

How to get, on what box player click? like ondialogreponse listitem is, because OnPlayerModelSelectionEx have only modelid
Reply

If i use a filterscript with a "OnPlayerClickPlayerTextDraw"-Callback i cant click a model preview box, even if the "OnPlayerClickPlayerTextDraw" Function in the Filterscript is empty. Only if the Function doesnt exist at all in the Filterscript the model preview boxes works.

Edit: returning 0 in "OnPlayerClick(Player)TextDraw"-Functions fixes the problem
Reply

Use the latest mselection version.
Reply

I take it.
There is a newest version exist of this include?
Reply

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
I take it.
There is a newest version exist of this include?
You can check my implementation of this idea: https://sampforum.blast.hk/showthread.php?tid=621156
Reply

C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(192) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(196) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(197) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(189) : warning 203: symbol is never used: "mZoom"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(189) : warning 203: symbol is never used: "Zrot"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(189) : warning 203: symbol is never used: "Yrot"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(189) : warning 203: symbol is never used: "Xrot"
C:\Users\Shevil\Desktop\sampdesargwer\pawno\includ e\mSelection.inc(189) : warning 203: symbol is never used: "modelindex"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(314) : warning 216: nested comment
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(314) : error 010: invalid function or declaration
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(2567) : error 017: undefined symbol "MAX_REPORTS"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(6565) : error 017: undefined symbol "VectorSize"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(664 : warning 202: number of arguments does not match definition
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(6646) : warning 203: symbol is never used: "addsiren"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(6667) : warning 202: number of arguments does not match definition
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(6665) : warning 203: symbol is never used: "addsiren"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(699 : error 017: undefined symbol "VectorSize"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(8416) : error 017: undefined symbol "NetStats_PacketLossPercent"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(8723) : error 017: undefined symbol "NetStats_PacketLossPercent"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(8725) : error 017: undefined symbol "NetStats_PacketLossPercent"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(9041) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(9675) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(9706) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10672) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10674) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10680) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10686) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10692) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(1069 : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10704) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10710) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10712) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(1071 : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10720) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10726) : error 017: undefined symbol "AttachDynamicObjectToVehicle"
C:\Users\Shevil\Desktop\sampdesargwer\gamemodes\ib izagm.pwn(10732) : error 017: undefined symbol "AttachDynamicObjectToVehicle"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply

Thanks
Reply

A version with add text at picture?
Reply

Quote:
Originally Posted by Chipardeur
Посмотреть сообщение
A version with add text at picture?
People still use this?!

Here is a new version with texts:
https://sampforum.blast.hk/showthread.php?tid=570213
Reply

Quote:
Originally Posted by Gammix
Посмотреть сообщение
People still use this?!

Here is a new version with texts:
https://sampforum.blast.hk/showthread.php?tid=570213
Shameless plug
Reply

Is it compatible with 0.3.8? I mean the custom skins.
Reply

Quote:
Originally Posted by zsoolt997
Посмотреть сообщение
Is it compatible with 0.3.8? I mean the custom skins.
My thread was sadly removed. I had the fixed version of mSelection. Here you go mate, hope it helps.

https://www.upload.ee/files/7883900/mSelection.inc.html
Reply

Quote:
Originally Posted by aoky
Посмотреть сообщение
My thread was sadly removed. I had the fixed version of mSelection. Here you go mate, hope it helps.

https://www.upload.ee/files/7883900/mSelection.inc.html
Thanks, I was searching your thread, but I know now where it's gone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)