SA-MP Forums Archive
PreviewModelDialog problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PreviewModelDialog problem (/showthread.php?tid=658870)



PreviewModelDialog problem - DeMoo - 14.09.2018

hi, i'm using PreviewModelDialog include and i have problem second line list of skins

skins don't have name and price tag

PHP код:
enum E_SKIN_SHOP_DATA {
    
SKIN_MODELID,
    
SKIN_NAME[1024],
    
SKIN_PRICE,
    
SKIN_SLOT
};
new const 
SKIN_SHOP[][E_SKIN_SHOP_DATA] = {
    {
20101"Name"1000,4},
    {
20103"Name"800,0},
    {
20104"Name"800,1},
    {
20105"Name"800,2},
    {
20106"Name"800,3},
    {
20108"Name"900,5},
    {
20109"Name"800,6},
    {
20110"Name"1000,7},
    {
20111"Name"1100,8},
    {
20112"Name"1200,9},
    {
20113"Name"1200,10},
    {
20114"Name"2000,11},
    {
20115"Name"2000,12}
}; 
PHP код:
for (new isizeof(SKIN_SHOP); i++)
            {
                
format(stringsizeof string"%s%i(0.0, 0.0, 0.0, 1.5)\t%s~n~~g~~h~$%i\n"stringSKIN_SHOP[i][SKIN_MODELID], SKIN_SHOP[i][SKIN_NAME], SKIN_SHOP[i][SKIN_PRICE]);
            } 
what can i do?


Re: PreviewModelDialog problem - Undef1ned - 14.09.2018

https://sampforum.blast.hk/showthread.php?tid=570213


Re: PreviewModelDialog problem - DeMoo - 15.09.2018

anyone know what is problem?


Re: PreviewModelDialog problem - KinderClans - 15.09.2018

Screen doesn't show.


Re: PreviewModelDialog problem - DeMoo - 15.09.2018

Quote:
Originally Posted by KinderClans
Посмотреть сообщение
Screen doesn't show.



Re: PreviewModelDialog problem - KinderClans - 15.09.2018

What the hell? Is that a Sa-Mp gamemode?


Re: PreviewModelDialog problem - DeMoo - 15.09.2018

Quote:
Originally Posted by KinderClans
Посмотреть сообщение
What the hell? Is that a Sa-Mp gamemode?
yes it's my pubg gamemode xD


Re: PreviewModelDialog problem - DeMoo - 17.09.2018

bump


Re: PreviewModelDialog problem - KinderClans - 17.09.2018

Stupid question, size of string you set is...?