AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Flags (https://forums.alliedmods.net/showthread.php?t=316215)

painlesstgp 05-12-2019 22:51

Flags
 
Im using store flags, but for some reason they don't work. or well they do. I have sourceban and i have added the flags O and P to my group, but still i can't see the skins etc.

items.txt
Code:

        "Player Skins"
        {
                "Pack One"
                {
                        "Trump"
                        {
                                "model" "models\player\custom_player\kuristaja\trump\trump.mdl"
                                "arms" "models\player\custom_player\kuristaja\trump\trump_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "p"
                        }
                        "Kim Jong Un"
                        {
                                "model" "models\player\custom_player\kuristaja\kim_jong_un\kim.mdl"
                                "arms" "models\player\custom_player\kuristaja\kim_jong_un\kim_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "p"
                        }
                        "Putin"
                        {
                                "model" "models\player\custom_player\kuristaja\putin\putin.mdl"
                                "arms" "models\player\custom_player\kuristaja\putin\putin_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag "p"
                        }
                        "Banana Joe"
                        {
                                "model" "models\player\custom_player\kuristaja\banana_joe\banana_joe.mdl"
                                "arms" "models\player\custom_player\kuristaja\banana_joe\banana_joe_arms.mdl"
                                "team" "4"
                                "price" "30000"
                                "type" "playerskin"
                                "flag" "p"
                        }
                        "Rayman"
                        {
                                "model" "models\player\custom_player\voikanaa\rayman.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "p"
                        }
                        "Chucky"
                        {
                                "model" "models\player\custom_player\legacy\chucky\chucky.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "o"
                        }
                        "Samus"
                        {
                                "model" "models\player\samus\samus.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "o"
                        }
                        "Harry Potter"
                        {
                                "model" "models\player\custom_player\kuristaja\harry_potter\harry.mdl"
                                "arms" "models\player\custom_player\kuristaja\harry_potter\harry_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "o"
                        }
                        "Picolas Cage"
                        {
                                "model" "models\player\custom_player\kuristaja\picolas_cage\picolas.mdl"
                                "arms" "models\player\custom_player\kuristaja\picolas_cage\picolas_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                "flag" "o"
                        }
                        "Christmas Miku"
                        {
                                "model" "models\player\custom_player\kuristaja\christmas_miku\miku.mdl"
                                "arms" "models\player\custom_player\kuristaja\christmas_miku\miku_arms.mdl"
                                "team" "4"
                                "price" "1"
                                "type" "playerskin"
                                "flag" "b"
                        }
                }
        }
}

I've tried restarting, but the only skins it shows to me is the 3 first.

Trump, Kim Jong Un and Putin.

If anyone can help please do.

Regards.

painlesstgp 05-13-2019 01:00

Re: Flags
 
Why does it only display 3 of them? Is there any formating error that i do not see? or... idk..

painlesstgp 05-13-2019 01:17

Re: Flags
 
Also, when removing the flag from all of the playerskins, all skins appear again.

And when i put the flag back only Trump, Kim Jong Un and Putin show up.... wtf?

If its not formating what is it? the old plugin itself?

painlesstgp 05-13-2019 02:26

Re: Flags
 
Also, when i use the flags on a category instead of an item, and i join with my alt for example applied with VIP (flag o is vip) and i cant see the VIP category that literaly is set to "flag" "o", same with VIP+ (flag p is vip+) and the category is set to "flag" "p"

Code:

                "flag" "p"
                "VIP+"
                {
                        "Trump"
                        {
                                "model" "models\player\custom_player\kuristaja\trump\trump.mdl"
                                "arms" "models\player\custom_player\kuristaja\trump\trump_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "p"
                        }
                        "Kim Jong Un"
                        {
                                "model" "models\player\custom_player\kuristaja\kim_jong_un\kim.mdl"
                                "arms" "models\player\custom_player\kuristaja\kim_jong_un\kim_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "p"
                        }
                        "Putin"
                        {
                                "model" "models\player\custom_player\kuristaja\putin\putin.mdl"
                                "arms" "models\player\custom_player\kuristaja\putin\putin_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag "p"
                        }
                        "Banana Joe"
                        {
                                "model" "models\player\custom_player\kuristaja\banana_joe\banana_joe.mdl"
                                "arms" "models\player\custom_player\kuristaja\banana_joe\banana_joe_arms.mdl"
                                "team" "4"
                                "price" "30000"
                                "type" "playerskin"
                                //"flag" "p"
                        }
            "Rayman"
                        {
                                "model" "models\player\custom_player\voikanaa\rayman.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "p"
                        }
                        "Chucky"
                        {
                                "model" "models\player\custom_player\legacy\chucky\chucky.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                        "Samus"
                        {
                                "model" "models\player\samus\samus.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                        "Harry Potter"
                        {
                                "model" "models\player\custom_player\kuristaja\harry_potter\harry.mdl"
                                "arms" "models\player\custom_player\kuristaja\harry_potter\harry_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                    "Picolas Cage"
                        {
                                "model" "models\player\custom_player\kuristaja\picolas_cage\picolas.mdl"
                                "arms" "models\player\custom_player\kuristaja\picolas_cage\picolas_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                }
                "flag" "o"
                "VIP"
                {
                        "Chucky"
                        {
                                "model" "models\player\custom_player\legacy\chucky\chucky.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                        "Samus"
                        {
                                "model" "models\player\samus\samus.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                        "Harry Potter"
                        {
                                "model" "models\player\custom_player\kuristaja\harry_potter\harry.mdl"
                                "arms" "models\player\custom_player\kuristaja\harry_potter\harry_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                    "Picolas Cage"
                        {
                                "model" "models\player\custom_player\kuristaja\picolas_cage\picolas.mdl"
                                "arms" "models\player\custom_player\kuristaja\picolas_cage\picolas_arms.mdl"
                                "team" "4"
                                "price" "15000"
                                "type" "playerskin"
                                //"flag" "o"
                        }
                }
        }
}

Tried it on live server, they couldnt find it.

Wtf is going on, is the plugin broken?


All times are GMT -4. The time now is 17:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.