SA-MP Forums Archive
Clothes system BUGGGED - 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: Clothes system BUGGGED (/showthread.php?tid=362418)



Clothes system BUGGGED - Dare Devil..... - 24.07.2012

hey I need a clothes system like if I type /clothes id and it gives me that skin

I tried to make one but its bugged
pawn Код:
{
if (strcmp("/clothes 2", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,2);
        return 1;
    }
else if (strcmp("/clothes 3", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,3);
        return 1;
    }
else if (strcmp("/clothes 4", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,4);
        return 1;
    }
else if (strcmp("/clothes 5", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,5);
        return 1;
    }
else if (strcmp("/clothes 6", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,6);
        return 1;
    }
else if (strcmp("/clothes 7", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,7);
        return 1;
    }
else if (strcmp("/clothes 8", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,8);
        return 1;
    }
else if (strcmp("/clothes 9", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,9);
        return 1;
    }
else if (strcmp("/clothes 10", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,10);
        return 1;
    }
else if (strcmp("/clothes 11", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,11);
        return 1;
    }
else if (strcmp("/clothes 12", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,12);
        return 1;
    }
else if (strcmp("/clothes 13", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,13);
        return 1;
    }
else if (strcmp("/clothes 14", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,14);
        return 1;
    }
else if (strcmp("/clothes 15", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,15);
        return 1;
    }
else if (strcmp("/clothes 16", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,16);
        return 1;
    }
else if (strcmp("/clothes 17", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,17);
        return 1;
    }
else if (strcmp("/clothes 18", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,18);
        return 1;
    }
else if (strcmp("/clothes 19", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,19);
        return 1;
    }
else if (strcmp("/clothes 20", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,20);
        return 1;
    }
else if (strcmp("/clothes 21", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,21);
        return 1;
    }
else if (strcmp("/clothes 22", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,22);
        return 1;
    }
else if (strcmp("/clothes 23", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,23);
        return 1;
    }
else if (strcmp("/clothes 24", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,24);
        return 1;
    }
else if (strcmp("/clothes 25", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,25);
        return 1;
    }
else if (strcmp("/clothes 26", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,26);
        return 1;
    }
else if (strcmp("/clothes 27", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,27);
        return 1;
    }
else if (strcmp("/clothes 28", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,28);
        return 1;
    }
else if (strcmp("/clothes 29", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,29);
        return 1;
    }
else if (strcmp("/clothes 30", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,30);
        return 1;
    }
else if (strcmp("/clothes 31", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,31);
        return 1;
    }
else if (strcmp("/clothes 32", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,32);
        return 1;
    }
else if (strcmp("/clothes 33", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,33);
        return 1;
    }
else if (strcmp("/clothes 34", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,34);
        return 1;
    }
else if (strcmp("/clothes 35", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,35);
        return 1;
    }
else if (strcmp("/clothes 36", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,36);
        return 1;
    }
else if (strcmp("/clothes 37", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,37);
        return 1;
    }
else if (strcmp("/clothes 38", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,38);
        return 1;
    }
else if (strcmp("/clothes 39", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,39);
        return 1;
    }
else if (strcmp("/clothes 40", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,40);
        return 1;
    }
else if (strcmp("/clothes 41", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,42);
        return 1;
    }
else if (strcmp("/clothes 42", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,42);
        return 1;
    }
else if (strcmp("/clothes 43", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,43);
        return 1;
    }
else if (strcmp("/clothes 44", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,44);
        return 1;
    }
else if (strcmp("/clothes 45", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,45);
        return 1;
    }
else if (strcmp("/clothes 46", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,46);
        return 1;
    }
else if (strcmp("/clothes 47", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,47);
        return 1;
    }
else if (strcmp("/clothes 48", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,48);
        return 1;
    }
else if (strcmp("/clothes 49", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,49);
        return 1;
    }
else if (strcmp("/clothes 50", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,50);
        return 1;
    }
else if (strcmp("/clothes 51", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,51);
        return 1;
    }
else if (strcmp("/clothes 52", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,52);
        return 1;
    }
else if (strcmp("/clothes 53", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,53);
        return 1;
    }
else if (strcmp("/clothes 54", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,54);
        return 1;
    }
else if (strcmp("/clothes 55", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,55);
        return 1;
    }
else if (strcmp("/clothes 56", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,56);
        return 1;
    }
else if (strcmp("/clothes 57", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,57);
        return 1;
    }
else if (strcmp("/clothes 58", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,58);
        return 1;
    }
else if (strcmp("/clothes 59", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,59);
        return 1;
    }
else if (strcmp("/clothes 60", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,60);
        return 1;
    }
else if (strcmp("/clothes 61", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,61);
        return 1;
    }
else if (strcmp("/clothes 62", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,62);
        return 1;
    }
else if (strcmp("/clothes 63", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,63);
        return 1;
    }
else if (strcmp("/clothes 64", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,64);
        return 1;
    }
else if (strcmp("/clothes 65", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,65);
        return 1;
    }
else if (strcmp("/clothes 66", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,66);
        return 1;
    }
else if (strcmp("/clothes 67", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,67);
        return 1;
    }
else if (strcmp("/clothes 68", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,68);
        return 1;
    }
else if (strcmp("/clothes 69", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,69);
        return 1;
    }
else if (strcmp("/clothes 70", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,70);
        return 1;
    }
else if (strcmp("/clothes 72", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,72);
        return 1;
    }
else if (strcmp("/clothes 73", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,73);
        return 1;
    }
else if (strcmp("/clothes 74", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,74);
        return 1;
    }
else if (strcmp("/clothes 75", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,75);
        return 1;
    }
else if (strcmp("/clothes 76", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,76);
        return 1;
    }
else if (strcmp("/clothes 77", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,77);
        return 1;
    }
else if (strcmp("/clothes 78", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,78);
        return 1;
    }
else if (strcmp("/clothes 79", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,79);
        return 1;
    }
else if (strcmp("/clothes 80", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,80);
        return 1;
    }
else if (strcmp("/clothes 81", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,81);
        return 1;
    }
else if (strcmp("/clothes 82", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,82);
        return 1;
    }
else if (strcmp("/clothes 83", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,83);
        return 1;
    }
else if (strcmp("/clothes 84", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,84);
        return 1;
    }
else if (strcmp("/clothes 85", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,85);
        return 1;
    }
else if (strcmp("/clothes 86", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,86);
        return 1;
    }
else if (strcmp("/clothes 87", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,87);
        return 1;
    }
else if (strcmp("/clothes 88", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,88);
        return 1;
    }
else if (strcmp("/clothes 89", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,89);
        return 1;
    }
else if (strcmp("/clothes 90", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,90);
        return 1;
    }
else if (strcmp("/clothes 91", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,91);
        return 1;
    }
else if (strcmp("/clothes 92", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,92);
        return 1;
    }
else if (strcmp("/clothes 93", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,93);
        return 1;
    }
else if (strcmp("/clothes 94", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,94);
        return 1;
    }
else if (strcmp("/clothes 95", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,95);
        return 1;
    }
else if (strcmp("/clothes 96", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,96);
        return 1;
    }
else if (strcmp("/clothes 97", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,97);
        return 1;
    }
else if (strcmp("/clothes 98", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,98);
        return 1;
    }
else if (strcmp("/clothes 99", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,99);
        return 1;
    }
else if (strcmp("/clothes 100", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,100);
        return 1;
    }
else if (strcmp("/clothes 101", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,101);
        return 1;
    }
else if (strcmp("/clothes 102", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,102);
        return 1;
    }
else if (strcmp("/clothes 103", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,103);
        return 1;
    }
else if (strcmp("/clothes 104", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,104);
        return 1;
    }
else if (strcmp("/clothes 105", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,105);
        return 1;
    }
else if (strcmp("/clothes 106", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,106);
        return 1;
    }
else if (strcmp("/clothes 107", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,107);
        return 1;
    }
else if (strcmp("/clothes 108", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,108);
        return 1;
    }
else if (strcmp("/clothes 109", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,109);
        return 1;
    }
else if (strcmp("/clothes 110", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,110);
        return 1;
    }
else if (strcmp("/clothes 111", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,111);
        return 1;
    }
else if (strcmp("/clothes 112", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,112);
        return 1;
    }
else if (strcmp("/clothes 113", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,113);
        return 1;
    }
else if (strcmp("/clothes 114", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,114);
        return 1;
    }
else if (strcmp("/clothes 115", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,115);
        return 1;
    }
else if (strcmp("/clothes 116", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,116);
        return 1;
    }
else if (strcmp("/clothes 117", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,117);
        return 1;
    }
else if (strcmp("/clothes 118", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,118);
        return 1;
    }
else if (strcmp("/clothes 119", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,119);
        return 1;
    }
else if (strcmp("/clothes 120", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,120);
        return 1;
    }
else if (strcmp("/clothes 121", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,121);
        return 1;
    }
else if (strcmp("/clothes 122", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,122);
        return 1;
    }
else if (strcmp("/clothes 123", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,123);
        return 1;
    }
else if (strcmp("/clothes 122", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,122);
        return 1;
    }
else if (strcmp("/clothes 123", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,123);
        return 1;
    }
else if (strcmp("/clothes 124", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,124);
        return 1;
    }
else if (strcmp("/clothes 125", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,125);
        return 1;
    }
else if (strcmp("/clothes 126", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,126);
        return 1;
    }
else if (strcmp("/clothes 127", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,127);
        return 1;
    }
else if (strcmp("/clothes 128", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,128);
        return 1;
    }
else if (strcmp("/clothes 129", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,129);
        return 1;
    }
else if (strcmp("/clothes 130", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,130);
        return 1;
    }
else if (strcmp("/clothes 131", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,131);
        return 1;
    }
else if (strcmp("/clothes 132", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,132);
        return 1;
    }
else if (strcmp("/clothes 133", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,134);
        return 1;
    }
else if (strcmp("/clothes 134", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,134);
        return 1;
    }
else if (strcmp("/clothes 135", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,135);
        return 1;
    }
else if (strcmp("/clothes 136", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,136);
        return 1;
    }
else if (strcmp("/clothes 137", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,137);
        return 1;
    }
else if (strcmp("/clothes 138", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,138);
        return 1;
    }
else if (strcmp("/clothes 139", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,139);
        return 1;
    }
else if (strcmp("/clothes 140", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,140);
        return 1;
    }
else if (strcmp("/clothes 141", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,141);
        return 1;
    }
else if (strcmp("/clothes 142", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,142);
        return 1;
    }
else if (strcmp("/clothes 143", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,143);
        return 1;
    }
else if (strcmp("/clothes 144", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,144);
        return 1;
    }
else if (strcmp("/clothes 145", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,145);
        return 1;
    }
else if (strcmp("/clothes 146", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,147);
        return 1;
    }
else if (strcmp("/clothes 147", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,147);
        return 1;
    }
else if (strcmp("/clothes 148", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,148);
        return 1;
    }
else if (strcmp("/clothes 149", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,149);
        return 1;
    }
else if (strcmp("/clothes 150", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,150);
        return 1;
    }
else if (strcmp("/clothes 151", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,151);
        return 1;
    }
else if (strcmp("/clothes 152", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,152);
        return 1;
    }
else if (strcmp("/clothes 153", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,153);
        return 1;
    }
else if (strcmp("/clothes 154", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,154);
        return 1;
    }
else if (strcmp("/clothes 155", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,155);
        return 1;
    }
else if (strcmp("/clothes 156", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,156);
        return 1;
    }
else if (strcmp("/clothes 157", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,157);
        return 1;
    }
else if (strcmp("/clothes 158", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,158);
        return 1;
    }
else if (strcmp("/clothes 159", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,159);
        return 1;
    }
else if (strcmp("/clothes 160", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,160);
        return 1;
    }
else if (strcmp("/clothes 161", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,161);
        return 1;
    }
else if (strcmp("/clothes 162", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,162);
        return 1;
    }
else if (strcmp("/clothes 163", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,163);
        return 1;
    }
else if (strcmp("/clothes 164", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,164);
        return 1;
    }
else if (strcmp("/clothes 165", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,165);
        return 1;
    }
else if (strcmp("/clothes 166", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,166);
        return 1;
    }
else if (strcmp("/clothes 167", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,167);
        return 1;
    }
else if (strcmp("/clothes 168", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,168);
        return 1;
    }
else if (strcmp("/clothes 169", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,169);
        return 1;
    }
else if (strcmp("/clothes 170", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,170);
        return 1;
    }
else if (strcmp("/clothes 171", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,171);
        return 1;
    }
else if (strcmp("/clothes 172", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,172);
        return 1;
    }
else if (strcmp("/clothes 173", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,173);
        return 1;
    }
else if (strcmp("/clothes 174", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,174);
        return 1;
    }
else if (strcmp("/clothes 175", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,175);
        return 1;
    }
else if (strcmp("/clothes 176", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,176);
        return 1;
    }
else if (strcmp("/clothes 177", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,177);
        return 1;
    }
else if (strcmp("/clothes 178", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,178);
        return 1;
    }
else if (strcmp("/clothes 179", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,179);
        return 1;
    }
else if (strcmp("/clothes 180", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,180);
        return 1;
    }
else if (strcmp("/clothes 181", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,181);
        return 1;
    }
else if (strcmp("/clothes 182", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,182);
        return 1;
    }
else if (strcmp("/clothes 183", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,183);
        return 1;
    }
else if (strcmp("/clothes 184", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,184);
        return 1;
    }
else if (strcmp("/clothes 185", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,185);
        return 1;
    }
else if (strcmp("/clothes 186", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,186);
        return 1;
    }
else if (strcmp("/clothes 187", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,187);
        return 1;
    }
else if (strcmp("/clothes 188", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,188);
        return 1;
    }
else if (strcmp("/clothes 189", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,189);
        return 1;
    }
else if (strcmp("/clothes 190", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,190);
        return 1;
    }
else if (strcmp("/clothes 191", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,191);
        return 1;
    }
else if (strcmp("/clothes 192", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,192);
        return 1;
    }
else if (strcmp("/clothes 193", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,193);
        return 1;
    }
else if (strcmp("/clothes 194", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,194);
        return 1;
    }
else if (strcmp("/clothes 195", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,195);
        return 1;
    }
else if (strcmp("/clothes 196", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,196);
        return 1;
    }
else if (strcmp("/clothes 197", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,197);
        return 1;
    }
else if (strcmp("/clothes 198", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,198);
        return 1;
    }
else if (strcmp("/clothes 199", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,199);
        return 1;
    }
else if (strcmp("/clothes 200", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,200);
        return 1;
    }
else if (strcmp("/clothes 201", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,201);
        return 1;
    }
else if (strcmp("/clothes 202", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,202);
        return 1;
    }
else if (strcmp("/clothes 203", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,203);
        return 1;
    }
else if (strcmp("/clothes 204", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,204);
        return 1;
    }
else if (strcmp("/clothes 205", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,205);
        return 1;
    }
else if (strcmp("/clothes 206", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,206);
        return 1;
    }
else if (strcmp("/clothes 207", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,207);
        return 1;
    }
else if (strcmp("/clothes 208", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,208);
        return 1;
    }
else if (strcmp("/clothes 209", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,209);
        return 1;
    }
else if (strcmp("/clothes 210", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,210);
        return 1;
    }
else if (strcmp("/clothes 211", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,211);
        return 1;
    }
else if (strcmp("/clothes 212", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,212);
        return 1;
    }
else if (strcmp("/clothes 213", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,213);
        return 1;
    }
else if (strcmp("/clothes 214", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,214);
        return 1;
    }
else if (strcmp("/clothes 215", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,215);
        return 1;
    }
else if (strcmp("/clothes 216", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,216);
        return 1;
    }
else if (strcmp("/clothes 217", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,217);
        return 1;
    }
else if (strcmp("/clothes 218", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,218);
        return 1;
    }
else if (strcmp("/clothes 219", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,219);
        return 1;
    }
else if (strcmp("/clothes 220", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,220);
        return 1;
    }
else if (strcmp("/clothes 221", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,221);
        return 1;
    }
else if (strcmp("/clothes 222", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,222);
        return 1;
    }
else if (strcmp("/clothes 223", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,223);
        return 1;
    }
else if (strcmp("/clothes 224", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,224);
        return 1;
    }
else if (strcmp("/clothes 225", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,225);
        return 1;
    }
else if (strcmp("/clothes 226", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,226);
        return 1;
    }
else if (strcmp("/clothes 227", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,227);
        return 1;
    }
else if (strcmp("/clothes 228", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,228);
        return 1;
    }
else if (strcmp("/clothes 229", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,229);
        return 1;
    }
else if (strcmp("/clothes 230", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,230);
        return 1;
    }
else if (strcmp("/clothes 231", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,231);
        return 1;
    }
else if (strcmp("/clothes 232", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,232);
        return 1;
    }
else if (strcmp("/clothes 233", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,233);
        return 1;
    }
else if (strcmp("/clothes 234", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,234);
        return 1;
    }
else if (strcmp("/clothes 234", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,234);
        return 1;
    }
else if (strcmp("/clothes 234", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,234);
        return 1;
    }
else if (strcmp("/clothes 234", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,234);
        return 1;
    }
else if (strcmp("/clothes 235", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,235);
        return 1;
    }
else if (strcmp("/clothes 236", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,236);
        return 1;
    }
else if (strcmp("/clothes 237", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,237);
        return 1;
    }
else if (strcmp("/clothes 238", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,238);
        return 1;
    }
else if (strcmp("/clothes 239", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,239);
        return 1;
    }
else if (strcmp("/clothes 240", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,240);
        return 1;
    }
else if (strcmp("/clothes 241", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,241);
        return 1;
    }
else if (strcmp("/clothes 242", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,242);
        return 1;
    }
else if (strcmp("/clothes 243", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,243);
        return 1;
    }
else if (strcmp("/clothes 244", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,244);
        return 1;
    }
else if (strcmp("/clothes 245", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,245);
        return 1;
    }
else if (strcmp("/clothes 246", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,246);
        return 1;
    }
else if (strcmp("/clothes 247", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,247);
        return 1;
    }
else if (strcmp("/clothes 248", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,248);
        return 1;
    }
else if (strcmp("/clothes 249", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,249);
        return 1;
    }
else if (strcmp("/clothes 250", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,250);
        return 1;
    }
else if (strcmp("/clothes 251", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,251);
        return 1;
    }
else if (strcmp("/clothes 252", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,252);
        return 1;
    }
else if (strcmp("/clothes 254", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,254);
        return 1;
    }
else if (strcmp("/clothes 256", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,256);
        return 1;
    }
else if (strcmp("/clothes 257", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,257);
        return 1;
    }
else if (strcmp("/clothes 258", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,258);
        return 1;
    }
else if (strcmp("/clothes 259", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,259);
        return 1;
    }
else if (strcmp("/clothes 260", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,260);
        return 1;
    }
else if (strcmp("/clothes 263", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,263);
        return 1;
    }
else if (strcmp("/clothes 270", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,270);
        return 1;
    }
else if (strcmp("/clothes 271", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,271);
        return 1;
    }
else if (strcmp("/clothes 272", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,272);
        return 1;
    }
else if (strcmp("/clothes 273", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,273);
        return 1;
    }
else if (strcmp("/clothes 289", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,289);
        return 1;
    }
else if (strcmp("/clothes 290", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,290);
        return 1;
    }
else if (strcmp("/clothes 291", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,291);
        return 1;
    }
else if (strcmp("/clothes 292", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,292);
        return 1;
    }
else if (strcmp("/clothes 293", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,293);
        return 1;
    }
else if (strcmp("/clothes 294", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,294);
        return 1;
    }
else if (strcmp("/clothes 295", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,295);
        return 1;
    }
else if (strcmp("/clothes 296", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,296);
        return 1;
    }
else if (strcmp("/clothes 297", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,298);
        return 1;
    }
else if (strcmp("/clothes 299", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        SetPlayerSkin(playerid,299);
        return 1;
    }
    return 1;
}



Re: Clothes system BUGGGED - Kindred - 24.07.2012

I don't see the problem, seeing as I don't use strcmp, but look, THIS is the best way to do something like this with the default command processor.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[128], idx;
    cmd = strtok(cmdtext, idx);
    if(strcmp("/clothes", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,40.0,207.4733,-109.8061,1005.1328))
        {
            new tmp[128];
            tmp = strtok(cmdtext, idx);
            if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /clothes [skinid]");
            if(strval(tmp) >= 0 && strval(tmp) <= 299) SetPlayerSkin(playerid, strval(tmp)); //Checks if valid skinid.  Also, make sure you restrict skins that aren't used, because if there is a skinid with no skin, player crashes.
        }
        else return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in range of whatever");
        return 1;
    }
    return 0;
}
This checks if the player typed /clothes, and did not type anything afterwards, promping him with a message. If he did type something, it checks what he types, converts it to an integer, and sets his skin using it.


Re: Clothes system BUGGGED - Dare Devil..... - 24.07.2012

It gives me this
Код:
C:\Users\Osman Ali\Desktop\Skin.pwn(92) : error 017: undefined symbol "strtok"
C:\Users\Osman Ali\Desktop\Skin.pwn(92) : error 033: array must be indexed (variable "cmd")
C:\Users\Osman Ali\Desktop\Skin.pwn(98) : error 017: undefined symbol "strtok"
C:\Users\Osman Ali\Desktop\Skin.pwn(98) : error 033: array must be indexed (variable "tmp")
C:\Users\Osman Ali\Desktop\Skin.pwn(91) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.