Need Help
#1

Hi, I couldn't find the list of all AddPlayerClass, can anyone help listing it from 1 to 299? Thank you.

Example:
pawn Код:
AddPlayerClass(1,-2720.4299,-318.8430,7.8438,48.9108,0,0,0,0,0,0);
AddPlayerClass(299,-2720.4299,-318.8430,7.8438,48.9108,0,0,0,0,0,0);
Reply
#2

You mean cords? Of when you /save?
Reply
#3

pawn Код:
for(new skinid = 0; skinid < 300; skinid++)
{
    if(IsValidSkin(skinid))
    {
      AddPlayerClass(skinid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    }
}

stock IsValidSkin(skinid) //put it somewhere
{
    if(skinid < 0 || skinid > 300) return false;
    switch(skinid)
    {
        case 74: return false;
    }
    return true;
}
Reply
#4

https://sampwiki.blast.hk/wiki/Skins:All
Reply
#5

If yes, then goto Documents/Gta sa user file/SAMP/Saved positions. this is for windows 7 and vista.
Reply
#6

No, I need list of skin which has been set to AddPlayerClass(1-299,x,y,z,weapon,ammo,weapon,ammo);

From 1 to 299, it takes time for my to type from 1 to 299 so please I need all list which has been set to AddPlayerClass, thank you.

Edit: I'm doing a free roam for me and I'm not using ZCMD or other. I'm using the basic script.
Reply
#7

Quote:

for(new skinid = 0; skinid < 300; skinid++)
{
if(skinid != 74)
{
//Just add some save
AddPlayerClass(skinid,-2720.4299,-318.8430,7.8438,48.9108,0,0,0,0,0,0);
}
}

and don`t be lazy ....
Reply
#8

look at my post need quote here it is

Quote:
Originally Posted by Romel
Посмотреть сообщение
pawn Код:
for(new skinid = 0; skinid < 300; skinid++)
{
    if(IsValidSkin(skinid))
    {
      AddPlayerClass(skinid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    }
}

stock IsValidSkin(skinid) //put it somewhere
{
    if(skinid < 0 || skinid > 300) return false;
    switch(skinid)
    {
        case 74: return false;
    }
    return true;
}
it add all skin 0 up to 299 even the 0.3d skins.
Don't misread the post next time
Reply
#9

Sorry, um.. Where do I put this? Under...?
Reply
#10

pawn Код:
for(new skinid = 0; skinid < 300; skinid++) //put this OnGameModeInit
{
    if(IsValidSkin(skinid))
    {
      AddPlayerClass(skinid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
    }
}

stock IsValidSkin(skinid) //put it on the bottom of script
{
    if(skinid < 0 || skinid > 300) return false;
    switch(skinid)
    {
        case 74: return false;
    }
    return true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)