restricted skins problem.
#1

Fixed thank you , repped the helper.
Reply
#2

I don't know what is this supposed to do erm.
Reply
#3

I just need help to check if wroten id of skin is taken for a faction and if the players faction is same as skin restriction
Reply
#4

Quote:
Originally Posted by GangstaSunny.
Посмотреть сообщение
Seriously?

The code u posted is shit. The command is just changing the skin and does nothing else.

Move back to basic
Seriously? What you just said is shit. That's exactly what the command is meant to do. Smh, move back to basic.


Implement this to the command.
PHP код:
FactionLoop(o)// allows to loop throught all factions
{
    if( 
PlayerInfo[playerid][playerteam] != )
    {
        if( 
iSkin == FactionInfo[o][fskin1] || iSkin == FactionInfo[o][fskin2 )) // and list goes on if you have different skin variables
        
{
             return 
SendClientMessage(playerid,-1,"This skin is taken by a faction, you can't use it.");
        }
    }

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)