ZCMD to Normal Command
#1

How to make that a normal command ?


Код:
public OnFilterScriptInit()
{
	print("\n========================================================");
	print(" Best script");
	print("========================================================\n");
	for(new i = 0; i < MAX_PLAYERS; ++i)
	{
	    MsgBox[i] = TextDrawCreate(453.000000, 119.000000, "   You use a Cap");
		TextDrawBackgroundColor(MsgBox[i], 15);
		TextDrawFont(MsgBox[i], 1);
		TextDrawLetterSize(MsgBox[i], 0.380000, 1.500000);
		TextDrawColor(MsgBox[i], -1);
		TextDrawSetOutline(MsgBox[i], 1);
		TextDrawSetProportional(MsgBox[i], 1);
		TextDrawUseBox(MsgBox[i], 1);
		TextDrawBoxColor(MsgBox[i], 100);
		TextDrawTextSize(MsgBox[i], 602.000000, 0.000000);
		if(IsPlayerConnected(i) && !IsPlayerNPC(i))
		{
			pObject[i][slotreserved] = false;
		}
	}
	return 1;
}

public SendPlayerFormattedText(playerid, const str[], define)
{
	new tmpbuf[256];
	format(tmpbuf, sizeof(tmpbuf), str, define);
	SendClientMessage(playerid, 0xFF004040, tmpbuf);
}

CMD:hat(playerid, params[])
{
	new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

	if(id <= 0 || id > 12) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /hat [1 - 12]");
    skin = (GetPlayerSkin(playerid) - 1);
	switch(id)
	{
	    case 1:     beret = 18926;
		case 2..10: beret = 18926 + id;
		case 11:    beret = 19099;
		case 12:    beret = 19098;
	}
	do
	{
	    if(skin == invalidskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
	    count++;
	}
	while(count < sizeof invalidskins);
	if(skin < 0) skin = 0;
	if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
	SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
	GivePlayerMoney(playerid, -500);
	return 1;
}

CMD:backcaps(playerid, params[])
{
	new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

	if(id <= 0 || id > 5) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /backcaps [1 - 5]");
    skin = (GetPlayerSkin(playerid) - 1);
	switch(id)
	{
	    case 1:    beret = 18939;
		case 2..5: beret = 18939 + id;
	}
	do
	{
	    if(skin == invalidcapsskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
	    count++;
	}
	while(count < sizeof invalidcapsskins);
	if(skin < 0) skin = 0;
	if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
	SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinCapsSet[skin][0], SkinCapsSet[skin][1], SkinCapsSet[skin][2], SkinCapsSet[skin][3], SkinCapsSet[skin][4], SkinCapsSet[skin][5]);
	GivePlayerMoney(playerid, -500);
	return 1;
}

CMD:removeob(playerid, params[])
{
	if(UseHat(playerid))
	{
		RemovePlayerAttachedObject(playerid, pObject[playerid][oslot]);
		pObject[playerid][oslot] = -1;
		pObject[playerid][slotreserved] = false;
		TextDrawSetString(MsgBox[playerid],"   Cap removed");
        TextDrawShowForPlayer(playerid, MsgBox[playerid]);
        SetTimerEx("Hide", 3000, false, "d", playerid);
		return 1;
	}
    return SendClientMessage(playerid, 0xFFFFFFAA, "You aren't using hat/backcaps.");
}

CMD:helphat(playerid)
{
	SendClientMessage(playerid, COLOR_GREEN1, "Ulric Hat/BackCaps system by Xaviour212/Dimas_Rizward.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /hat [1 - 12] to use a Hat.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /backcaps [1 - 5] to use a BackCaps.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /removeob to removed your hat and backcaps.");
 	return 1;
}

SetPlayerAttachedObjectEx(playerid, slot, model, bone, Float:X, Float:Y, Float:Z, Float:RX, Float:RY, Float:RZ)
{
	if(!pObject[playerid][slotreserved])
	{
		pObject[playerid][slotreserved] = true;
	    pObject[playerid][omodel] = model;
		pObject[playerid][oslot] = slot;
		SetPlayerAttachedObject(playerid, slot, model, bone, X, Y, Z, RX, RY, RZ);
	}
	else
	{
	    SetPlayerAttachedObject(playerid, pObject[playerid][oslot], model, bone, X, Y, Z, RX, RY, RZ);
	}
	return 1;
}
Reply
#2

Why do you send us the whole code ? send only the command.
And
pawn Код:
CMD:helphat(playerid)
Is wrong, change to :
pawn Код:
CMD:helphat(playerid, params[])
Reply
#3

Thanks for your reply

here is the commands :


Код:
CMD:hat(playerid, params[])
{
	new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

	if(id <= 0 || id > 12) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /hat [1 - 12]");
    skin = (GetPlayerSkin(playerid) - 1);
	switch(id)
	{
	    case 1:     beret = 18926;
		case 2..10: beret = 18926 + id;
		case 11:    beret = 19099;
		case 12:    beret = 19098;
	}
	do
	{
	    if(skin == invalidskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
	    count++;
	}
	while(count < sizeof invalidskins);
	if(skin < 0) skin = 0;
	if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
	SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
	GivePlayerMoney(playerid, -500);
	return 1;
}

CMD:backcaps(playerid, params[])
{
	new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

	if(id <= 0 || id > 5) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /backcaps [1 - 5]");
    skin = (GetPlayerSkin(playerid) - 1);
	switch(id)
	{
	    case 1:    beret = 18939;
		case 2..5: beret = 18939 + id;
	}
	do
	{
	    if(skin == invalidcapsskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
	    count++;
	}
	while(count < sizeof invalidcapsskins);
	if(skin < 0) skin = 0;
	if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
	SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinCapsSet[skin][0], SkinCapsSet[skin][1], SkinCapsSet[skin][2], SkinCapsSet[skin][3], SkinCapsSet[skin][4], SkinCapsSet[skin][5]);
	GivePlayerMoney(playerid, -500);
	return 1;
}

CMD:removeob(playerid, params[])
{
	if(UseHat(playerid))
	{
		RemovePlayerAttachedObject(playerid, pObject[playerid][oslot]);
		pObject[playerid][oslot] = -1;
		pObject[playerid][slotreserved] = false;
		TextDrawSetString(MsgBox[playerid],"   Cap removed");
        TextDrawShowForPlayer(playerid, MsgBox[playerid]);
        SetTimerEx("Hide", 3000, false, "d", playerid);
		return 1;
	}
    return SendClientMessage(playerid, 0xFFFFFFAA, "You aren't using hat/backcaps.");
}

CMD:helphat(playerid)
{
	SendClientMessage(playerid, COLOR_GREEN1, "Ulric Hat/BackCaps system by Xaviour212/Dimas_Rizward.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /hat [1 - 12] to use a Hat.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /backcaps [1 - 5] to use a BackCaps.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /removeob to removed your hat and backcaps.");
 	return 1;
}
Reply
#4

Why do you want to make it original code though ?...why you can't keep it that way ?
You have any errors ?
Reply
#5

What do you mean for normal command. For exemple using strcmp?
Reply
#6

What is 'normal command' strcmp?

// Above was faster.
Reply
#7

I think that strcmp, yes.
Reply
#8

Quote:
Originally Posted by Darnell
Посмотреть сообщение
Why do you want to make it original code though ?...why you can't keep it that way ?
You have any errors ?
I want that because if i put that script in my gamemode,all of my commands will gone.When i type them,I get : "SERVER UNKOWN COMMAND!"

Only the ZCMD commands will work!

When I said normal command,I said about that :

Код:
if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0)
Reply
#9

Quote:
Originally Posted by CoLLYY
Посмотреть сообщение
I want that because if i put that script in my gamemode,all of my commands will gone.When i type then,I get : "SERVER UNKOWN COMMAND!"

When I said normal command,I said about that :

Код:
if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0)
Beacuse you're using ZCMD you have first to convert all commands from ZCMD to strcmp then remove
pawn Код:
#include <zcmd>
...I dont suggest the thing you're doing but is your choise.
Reply
#10

I can put the commands in my gamemode and see if they work, you have some errors in yours...
Give me needed defines etc, so I can try it myself.
Reply
#11

I just recommend you uzing ZCMD, Since it's faster. You are also making a roleplay server means alot of commands is making your server slow.

pawn Код:
if(strcmp(cmd, "/hat", true) == 0)
{
    new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

    if(id <= 0 || id > 12) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /hat [1 - 12]");
    skin = (GetPlayerSkin(playerid) - 1);
    switch(id)
    {
        case 1:     beret = 18926;
        case 2..10: beret = 18926 + id;
        case 11:    beret = 19099;
        case 12:    beret = 19098;
    }
    do
    {
        if(skin == invalidskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
        count++;
    }
    while(count < sizeof invalidskins);
    if(skin < 0) skin = 0;
    if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
    SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
    GivePlayerMoney(playerid, -500);
    return 1;
}
Place that onder OnPlayerCommand, If you have any errors drop them here.
Reply
#12

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
I just recommend you uzing ZCMD, Since it's faster. You are also making a roleplay server means alot of commands is making your server slow.

pawn Код:
if(strcmp(cmd, "/hat", true) == 0)
{
    new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

    if(id <= 0 || id > 12) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /hat [1 - 12]");
    skin = (GetPlayerSkin(playerid) - 1);
    switch(id)
    {
        case 1:     beret = 18926;
        case 2..10: beret = 18926 + id;
        case 11:    beret = 19099;
        case 12:    beret = 19098;
    }
    do
    {
        if(skin == invalidskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
        count++;
    }
    while(count < sizeof invalidskins);
    if(skin < 0) skin = 0;
    if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
    SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
    GivePlayerMoney(playerid, -500);
    return 1;
}
Place that onder OnPlayerCommand, If you have any errors drop them here.
Fully agree.
Reply
#13

/hat :
pawn Код:
if(strcmp(cmd, "/hat", true) == 0)
{
    new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

    if(id <= 0 || id > 12) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /hat [1 - 12]");
    skin = (GetPlayerSkin(playerid) - 1);
    switch(id)
    {
        case 1:     beret = 18926;
        case 2..10: beret = 18926 + id;
        case 11:    beret = 19099;
        case 12:    beret = 19098;
    }
    do
    {
        if(skin == invalidskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
        count++;
    }
    while(count < sizeof invalidskins);
    if(skin < 0) skin = 0;
    if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
    SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
    GivePlayerMoney(playerid, -500);
    return 1;
}
/backcaps :
pawn Код:
if(strcmp(cmd, "/backcaps", true) == 0)
{
    new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

    if(id <= 0 || id > 5) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /backcaps [1 - 5]");
    skin = (GetPlayerSkin(playerid) - 1);
    switch(id)
    {
        case 1:    beret = 18939;
        case 2..5: beret = 18939 + id;
    }
    do
    {
        if(skin == invalidcapsskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
        count++;
    }
    while(count < sizeof invalidcapsskins);
    if(skin < 0) skin = 0;
    if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
    SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinCapsSet[skin][0], SkinCapsSet[skin][1], SkinCapsSet[skin][2], SkinCapsSet[skin][3], SkinCapsSet[skin][4], SkinCapsSet[skin][5]);
    GivePlayerMoney(playerid, -500);
    return 1;
}
/removeob
pawn Код:
if(strcmp(cmd, "/removeob", true) == 0)
{
    if(UseHat(playerid))
    {
        RemovePlayerAttachedObject(playerid, pObject[playerid][oslot]);
        pObject[playerid][oslot] = -1;
        pObject[playerid][slotreserved] = false;
        TextDrawSetString(MsgBox[playerid],"   Cap removed");
        TextDrawShowForPlayer(playerid, MsgBox[playerid]);
        SetTimerEx("Hide", 3000, false, "d", playerid);
        return 1;
    }
    return SendClientMessage(playerid, 0xFFFFFFAA, "You aren't using hat/backcaps.");
}
/helphat
pawn Код:
if(strcmp(cmd, "/helphat", true) == 0)
{
    SendClientMessage(playerid, COLOR_GREEN1, "Ulric Hat/BackCaps system by Xaviour212/Dimas_Rizward.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /hat [1 - 12] to use a Hat.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /backcaps [1 - 5] to use a BackCaps.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /removeob to removed your hat and backcaps.");
    return 1;
}
I'd be glad if you could click here or here if I helped you .
Reply
#14

Quote:
Originally Posted by Darnell
Посмотреть сообщение
/hat :
pawn Код:
if(strcmp(cmd, "/hat", true) == 0)
{
    new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

    if(id <= 0 || id > 12) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /hat [1 - 12]");
    skin = (GetPlayerSkin(playerid) - 1);
    switch(id)
    {
        case 1:     beret = 18926;
        case 2..10: beret = 18926 + id;
        case 11:    beret = 19099;
        case 12:    beret = 19098;
    }
    do
    {
        if(skin == invalidskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
        count++;
    }
    while(count < sizeof invalidskins);
    if(skin < 0) skin = 0;
    if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
    SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);
    GivePlayerMoney(playerid, -500);
    return 1;
}
/backcaps :
pawn Код:
if(strcmp(cmd, "/backcaps", true) == 0)
{
    new skin, id = strval(params[0]), beret, slot = GetEmptySlot(playerid), count;

    if(id <= 0 || id > 5) return SendClientMessage(playerid, 0xFFFFFFAA, "Use: /backcaps [1 - 5]");
    skin = (GetPlayerSkin(playerid) - 1);
    switch(id)
    {
        case 1:    beret = 18939;
        case 2..5: beret = 18939 + id;
    }
    do
    {
        if(skin == invalidcapsskins[count]) return SendClientMessage(playerid, 0xFFFFFFAA, "Your skin do not support a cap.");
        count++;
    }
    while(count < sizeof invalidcapsskins);
    if(skin < 0) skin = 0;
    if(slot == -1) return SendClientMessage(playerid, 0xFFFFFFAA, "You're holding the maximum of objects possible.");
    TextDrawSetString(MsgBox[playerid],"   You use a Cap");
    TextDrawShowForPlayer(playerid, MsgBox[playerid]);
    SetTimerEx("Hide", 3000, false, "d", playerid);
    SetPlayerAttachedObjectEx(playerid, slot, beret, 2, SkinCapsSet[skin][0], SkinCapsSet[skin][1], SkinCapsSet[skin][2], SkinCapsSet[skin][3], SkinCapsSet[skin][4], SkinCapsSet[skin][5]);
    GivePlayerMoney(playerid, -500);
    return 1;
}
/removeob
pawn Код:
if(strcmp(cmd, "/removeob", true) == 0)
{
    if(UseHat(playerid))
    {
        RemovePlayerAttachedObject(playerid, pObject[playerid][oslot]);
        pObject[playerid][oslot] = -1;
        pObject[playerid][slotreserved] = false;
        TextDrawSetString(MsgBox[playerid],"   Cap removed");
        TextDrawShowForPlayer(playerid, MsgBox[playerid]);
        SetTimerEx("Hide", 3000, false, "d", playerid);
        return 1;
    }
    return SendClientMessage(playerid, 0xFFFFFFAA, "You aren't using hat/backcaps.");
}
/helphat
pawn Код:
if(strcmp(cmd, "/helphat", true) == 0 ||
{
    SendClientMessage(playerid, COLOR_GREEN1, "Ulric Hat/BackCaps system by Xaviour212/Dimas_Rizward.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /hat [1 - 12] to use a Hat.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /backcaps [1 - 5] to use a BackCaps.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type: /removeob to removed your hat and backcaps.");
    return 1;
}
I'd be glad if you could click here or here if I helped you .
That's just a copy & paste from somewhere beacuse you cant do a mistake like this..
pawn Код:
if(strcmp(cmd, "/helphat", true) == 0 ||
its
pawn Код:
if(strcmp(cmd, "/helphat", true) == 0)
Reply
#15

At the last one, I had a mistake, big deal...that can be fixed, you know.
Reply
#16

Commands it works !
Reply
#17

It works ? yay. lol.
I'd be glad if you could click here or here if I helped you .
Reply
#18

Now I get the "Don't Send" error

Wait to post the whole script.
Reply
#19

Don't post the whole script lol, Drop here the lines and your errors.
Reply
#20

FIRST:
Код:
#include <a_samp>
#include <zcmd>

#define UseHat(%0) pObject[%0][omodel] ? pObject[%0][omodel] : -1
#define COLOR_GREEN1			0x33AA33AA

static invalidskins[] = {1,2,3,4,5,7,12,15,17,18,21,23,26,27,30,32,33,34,40,41,50,51,60,64,73,76,85,98,103,106,114,118,136,142,148,152,154,157,160,166,172,197,204,207,214,241,245,248,252,254,259,268,269,272,276,277,278,282,283,284,286,287,288,292};
static invalidcapsskins[] = {2,3,4,5,6,8,13,16,19,22,23,24,27,28,29,31,32,33,34,35,36,37,38,40,41,42,50,51,52,61,65,71,74,77,78,86,94,99,104,107,115,119,13};

static Float: SkinOffSet2[299][6] = {
{0.135928, 0.002891, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 0
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 1
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 2
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 3
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 4
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 5
{0.155785, 0.005998, -0.014326, 0.000000, 0.000000, 347.188201},//Skin - 6
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 7
{0.131067, -0.013737, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 8
{0.118922, -0.015322, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 9
{0.125779, -0.001459, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 10
{0.129249, -0.014101, -0.008518, 0.000000, 0.000000, 347.188201},//Skin - 11
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 12
{0.161076, -0.015624, -0.006768, 0.000000, 0.000000, 347.188201},//Skin - 13
{0.112204, -0.023196, -0.006768, 0.000000, 0.000000, 347.188201},//Skin - 14
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 15
{0.150166, -0.008718, -0.006768, 0.000000, 0.000000, 347.188201},//Skin - 16
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 17
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 18
{0.153609, -0.003207, -0.007717, 0.000000, 0.000000, 357.608825},//Skin - 19
{0.143831, 0.001813, -0.010588, 0.000000, 0.000000, 357.608825}, //Skin - 20
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 21
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 22
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                   //Skin - 23
{0.127352, 0.009877, -0.006845, 0.726156, 359.666778, 348.825012},//Skin - 24
{0.124666, -0.029373, -0.006845, 0.726156, 359.666778, 329.940704},//Skin - 25
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 26
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 27
{0.128768, 0.041474, -0.007667, 0.726156, 359.666778, 355.429199}, //Skin - 28
{0.166457, -0.006228, -0.012669, 0.726156, 359.666778, 354.612152},//Skin - 29
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 30
{0.096077, -0.023233, -0.009101, 0.726156, 359.666778, 343.094055},//Skin - 31
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 32
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 33
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 34
{0.155565, 0.014400, -0.009101, 0.726156, 359.666778, 6.131487},   //Skin - 35
{0.156485, 0.013641, -0.009101, 0.726156, 359.666778, 6.131487},   //Skin - 36
{0.144815, 0.013641, -0.009374, 0.726156, 359.666778, 350.562103}, //Skin - 37
{0.113347, -0.006682, -0.009374, 0.726156, 359.666778, 350.562103},//Skin - 38
{0.147231, -0.014448, -0.004786, 0.726156, 359.666778, 357.303253},//Skin - 39
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 40
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 41
{0.082446, 0.004202, -0.004786, 0.726156, 359.666778, 357.303253}, //Skin - 42
{0.104901, 0.004013, -0.004786, 0.726156, 359.666778, 342.983184}, //Skin - 43
{0.116172, -0.001954, -0.004786, 0.726156, 359.666778, 357.100677},//Skin - 44
{0.153321, 0.025744, -0.008666, 0.726156, 359.666778, 10.704365},  //Skin - 45
{0.160556, 0.007781, -0.010438, 0.726156, 359.666778, 0.991972},   //Skin - 46
{0.179010, -0.035613, -0.010438, 0.726156, 359.666778, 347.956573},//Skin - 47
{0.123363, 0.008694, -0.010438, 0.726156, 359.666778, 347.956573}, //Skin - 48
{0.167061, -0.037899, -0.010438, 0.726156, 359.666778, 347.775817},//Skin - 49
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 50
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 51
{0.129040, 0.016069, -0.010438, 0.726156, 359.666778, 347.775817}, //Skin - 52
{0.129040, 0.016069, -0.006084, 0.726156, 359.666778, 347.775817}, //Skin - 53
{0.137743, -0.016369, -0.011731, 0.726156, 359.666778, 355.812011},//Skin - 54
{0.137743, -0.016369, -0.011731, 0.726156, 359.666778, 355.812011},//Skin - 55
{0.174539, -0.000662, -0.007289, 0.726156, 359.666778, 352.847045},//Skin - 56
{0.109382, -0.002955, -0.007289, 0.726156, 359.666778, 352.847045},//Skin - 57
{0.152276, -0.029331, -0.008357, 0.726156, 359.666778, 332.070648},//Skin - 58
{0.129599, -0.019172, -0.012204, 0.726156, 359.666778, 332.070648},//Skin - 59
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 60
{0.130350, 0.000897, -0.000747, 0.726156, 359.666778, 332.070648}, //Skin - 61
{0.150659, -0.035485, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 62
{0.119340, -0.006483, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 63
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 64
{0.133055, -0.000092, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 65
{0.129061, -0.006499, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 66
{0.127292, 0.010318, -0.006299, 0.726156, 359.666778, 341.617431}, //Skin - 67
{0.138791, -0.025311, -0.006299, 0.726156, 359.666778, 341.617431},//Skin - 68
{0.148132, 0.003970, -0.002304, 0.726156, 359.666778, 340.120025}, //Skin - 69
{0.129753, 0.006469, -0.006376, 0.726156, 359.666778, 354.029815}, //Skin - 70
{0.125663, 0.015428, -0.006376, 0.726156, 359.666778, 354.029815}, //Skin - 71
{0.125663, 0.015428, -0.009030, 0.726156, 359.666778, 354.029815}, //Skin - 72
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 73
{0.135729, -0.018656, -0.013554, 0.000000, 0.000000, 337.893737},  //Skin - 74
{0.141888, -0.042810, -0.006206, 0.000000, 0.000000, 337.893737},  //Skin - 75
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 76
{0.124348, -0.017813, -0.006206, 0.000000, 0.000000, 346.786865},  //Skin - 77
{0.124348, 0.000583, -0.006206, 0.000000, 0.000000, 346.786865},   //Skin - 78
{0.102654, -0.010906, -0.006206, 0.000000, 0.000000, 346.786865},  //Skin - 79
{0.102654, -0.010906, -0.006206, 0.000000, 0.000000, 346.786865},  //Skin - 81
{0.167928, 0.031601, -0.006206, 0.000000, 0.000000, 17.955888},    //Skin - 82
{0.159998, 0.023540, -0.006206, 0.000000, 0.000000, 17.955888},    //Skin - 83
{0.169630, 0.019315, -0.006206, 0.000000, 0.000000, 17.955888},    //Skin - 84
{0.163052, -0.039735, -0.006206, 0.000000, 0.000000, 341.169891},  //Skin - 85
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 86
{0.144811, -0.007521, -0.014207, 0.000000, 0.000000, 341.169891},  //Skin - 87
{0.129932, -0.007521, -0.007289, 0.000000, 0.000000, 341.169891},  //Skin - 88
{0.151147, -0.038608, -0.009597, 0.000000, 0.000000, 343.694549},  //Skin - 89
{0.147416, -0.031632, -0.009597, 0.000000, 0.000000, 343.694549},  //Skin - 90
{0.157728, -0.009677, -0.009597, 0.000000, 0.000000, 0.934848},    //Skin - 91
{0.136577, -0.015592, -0.009597, 0.000000, 0.000000, 341.013824},  //Skin - 92
{0.143821, 0.000631, -0.008385, 0.000000, 0.000000, 358.808868},   //Skin - 93
{0.100521, 0.003151, -0.007624, 0.000000, 0.000000, 358.808868},   //Skin - 94
{0.122833, -0.006031, -0.007624, 0.000000, 0.000000, 358.808868},  //Skin - 95
{0.145296, 0.003959, -0.007624, 0.000000, 0.000000, 358.808868},   //Skin - 96
{0.141658, 0.016474, -0.007624, 0.000000, 0.000000, 9.683902},     //Skin - 97
{0.145276, -0.002846, -0.007624, 0.000000, 0.000000, 340.239593},  //Skin - 98
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 99
{0.161745, -0.010244, -0.007624, 0.000000, 0.000000, 351.499267}, //Skin - 100
{0.151006, -0.030994, -0.005366, 0.000000, 0.000000, 340.428894}, //Skin - 101
{0.147111, 0.003794, -0.012433, 0.000000, 0.000000, 358.069244},  //Skin - 102
{0.154213, -0.052348, -0.003511, 356.299316, 0.000000, 336.751647},//Skin - 103
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 104
{0.153814, -0.039614, -0.006756, 356.299316, 0.000000, 336.930084},//Skin - 105
{0.153638, -0.039614, -0.013630, 356.299316, 0.000000, 336.930084},//Skin - 106
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 107
{0.140473, -0.026201, -0.000469, 0.390689, 355.405181, 335.554260},//Skin - 108
{0.140904, -0.007227, -0.008114, 0.390689, 355.405181, 335.554260},//Skin - 109
{0.140904, -0.007227, -0.008114, 0.390689, 355.405181, 335.554260},//Skin - 110
{0.134860, 0.001485, -0.010145, 0.390689, 358.632415, 347.730010},//Skin - 111
{0.124823, 0.001485, -0.009402, 0.390689, 358.632415, 347.730010},//Skin - 112
{0.157999, -0.012039, -0.006082, 0.390689, 358.632415, 347.730010},//Skin - 113
{0.144906, -0.005139, -0.009654, 0.390689, 358.632415, 336.830108},//Skin - 114
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                    //Skin - 116
{0.152829, -0.009735, -0.009654, 0.390689, 358.632415, 336.830108},//Skin - 117
{0.113804, 0.009252, -0.009654, 0.390689, 358.632415, 345.244384},//Skin - 118
{0.113804, 0.009252, -0.009654, 0.390689, 358.632415, 345.244384},//Skin - 119
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                   //Skin -120
{0.154275, -0.037484, -0.009654, 0.390689, 358.632415, 337.676666},//Skin - 121
{0.155674, -0.015613, -0.004339, 0.390689, 358.632415, 350.571228},//Skin - 122
{0.136433, -0.019181, -0.004339, 0.390689, 358.632415, 340.261840},//Skin - 123
{0.163258, -0.032386, -0.013128, 0.390689, 358.632415, 340.261840},//Skin - 124
{0.153242, -0.029651, -0.002434, 0.390689, 358.632415, 333.367614},//Skin - 125
{0.127978, -0.001961, -0.008867, 0.390689, 358.632415, 347.279052},//Skin - 126
{0.160856, -0.025356, -0.004428, 0.390689, 358.632415, 347.279052},//Skin - 127
{0.150266, -0.009032, -0.006781, 0.390689, 358.632415, 347.223754},//Skin - 128
{0.158060, 0.022907, -0.006781, 0.390689, 358.632415, 349.378875},//Skin - 129
{0.111739, 0.012673, -0.006781, 0.390689, 358.632415, 349.378875},//Skin - 130
{0.091638, -0.011600, -0.008686, 0.390689, 358.632415, 336.674468},//Skin - 131
{0.125788, 0.000635, -0.005915, 0.390689, 358.632415, 343.007751},//Skin - 132
{0.031324, -0.014154, -0.005915, 0.390689, 358.632415, 343.007751},//Skin - 133
{0.142321, 0.015417, -0.005915, 0.243191, 358.632415, 350.329559},//Skin - 133
{0.128780, -0.030750, 0.006687, 173.184967, 358.632415, 27.422966},//Skin - 134
{0.115882, -0.004931, -0.003807, 358.837646, 358.632415, 346.206237},//Skin - 135
{0.127531, -0.008916, -0.003807, 358.837646, 358.632415, 346.206237},//Skin - 136
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 137
{0.148992, -0.017748, -0.006509, 358.837646, 358.632415, 350.742156},//Skin - 138
{0.148992, -0.017748, -0.006509, 358.837646, 358.632415, 350.742156},//Skin - 139
{0.147315, 0.001708, -0.006509, 358.837646, 358.632415, 354.390045},//Skin - 140
{0.144315, -0.013571, -0.006509, 358.837646, 358.632415, 354.390045},//Skin - 141
{0.144315, -0.002729, -0.010357, 358.837646, 358.632415, 354.390045},//Skin - 142
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 143
{0.177516, -0.070868, -0.009114, 358.837646, 358.632415, 331.679321},//Skin - 144
{0.139578, -0.008750, -0.004405, 358.837646, 358.632415, 343.319335},//Skin - 145
{0.139578, -0.014406, -0.004405, 358.837646, 358.632415, 343.319335},//Skin - 146
{0.115592, -0.010754, -0.004405, 358.837646, 358.632415, 343.319335},//Skin - 147
{0.150735, -0.000459, -0.004405, 358.837646, 358.632415, 9.362450},//Skin - 148
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 149
{0.149485, -0.008709, -0.006168, 358.837646, 358.632415, 2.276566},//Skin - 150
{0.168162, -0.009708, -0.012160, 359.504821, 4.442328, 355.348114},//Skin - 151
{0.156369, -0.024521, -0.012160, 359.504821, 0.415596, 355.348114},//Skin - 152
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 153
{0.119297, -0.016080, -0.010776, 359.504821, 0.415596, 341.522827},//Skin - 154
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 155
{0.172295, -0.065549, -0.007187, 359.504821, 0.415596, 336.175567},//Skin - 156
{0.126340, -0.030764, -0.007187, 359.504821, 0.415596, 336.175567},//Skin - 157
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 158
{0.154280, 0.002166, -0.010436, 359.504821, 0.415596, 357.792144},//Skin - 159
{0.121469, -0.007383, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 160
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 161
{0.139495, -0.007383, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 162
{0.113212, -0.005302, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 163
{0.120208, 0.003533, -0.010436, 359.504821, 0.415596, 341.538574},//Skin - 164
{0.135111, 0.005091, -0.006407, 359.504821, 0.415596, 352.954559},//Skin - 165
{0.122118, 0.005091, -0.006407, 359.504821, 0.415596, 352.954559},//Skin - 166
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 167
{0.125229, 0.005091, -0.013084, 359.504821, 0.415596, 352.954559},//Skin - 168
{0.153451, -0.018119, -0.013276, 359.504821, 0.415596, 358.219451},//Skin - 169
{0.141395, -0.009131, -0.013276, 359.504821, 0.415596, 347.866027},//Skin - 170
{0.157631, -0.028753, -0.006450, 359.504821, 0.415596, 339.935516},//Skin - 171
{0.152687, -0.027057, -0.007731, 359.504821, 0.415596, 344.054809},//Skin - 172
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 173
{0.165146, 0.015393, -0.007731, 359.504821, 0.415596, 344.001678},//Skin - 174
{0.162788, -0.019696, -0.007731, 359.504821, 0.415596, 344.001678},//Skin - 175
{0.157728, -0.027188, -0.012891, 359.504821, 0.415596, 345.804748},//Skin - 176
{0.187507, 0.010472, -0.012891, 359.504821, 0.415596, 12.315887},//Skin - 177
{0.153901, -0.027720, -0.007884, 359.504821, 0.415596, 344.553527},//Skin - 178
{0.137445, -0.009757, -0.012987, 359.504821, 0.415596, 344.553527},//Skin - 179
{0.173041, -0.006323, -0.012987, 359.504821, 0.415596, 3.267552},//Skin - 180
{0.143467, 0.016897, -0.007831, 359.504821, 0.415596, 349.504974},//Skin - 181
{0.114480, 0.006202, -0.007831, 359.504821, 0.415596, 349.504974},//Skin - 182
{0.114480, 0.008813, -0.007831, 359.504821, 0.415596, 349.504974},//Skin - 183
{0.128122, -0.012152, -0.013144, 359.504821, 0.415596, 336.326538},//Skin - 184
{0.156171, 0.007268, -0.013144, 359.504821, 0.415596, 10.805211},//Skin - 185
{0.156409, -0.034861, -0.007927, 359.504821, 0.415596, 336.978668},//Skin - 186
{0.118034, -0.024105, -0.002947, 359.504821, 0.415596, 336.978668},//Skin - 187
{0.128686, -0.029632, -0.002947, 358.201873, 0.415596, 329.325042},//Skin - 188
{0.172639, -0.026749, -0.012705, 358.201873, 0.415596, 349.092590},//Skin - 189
{0.180897, -0.026749, -0.007224, 358.201873, 0.415596, 349.092590},//Skin - 190
{0.180897, -0.026749, -0.007224, 358.201873, 0.415596, 349.092590},//Skin - 191
{0.178725, -0.010278, -0.007224, 358.201873, 0.415596, 354.053405},//Skin - 192
{0.172020, -0.010278, -0.010734, 358.201873, 0.415596, 354.053405},//Skin - 193
{0.172020, -0.010278, -0.010734, 358.201873, 0.415596, 354.053405},//Skin - 194
{0.176089, -0.032526, -0.005110, 358.201873, 0.415596, 341.814422},//Skin - 195
{0.118042, 0.007002, -0.005110, 358.201873, 0.415596, 341.814422},//Skin - 196
{0.143840, -0.042712, -0.007556, 358.201873, 0.415596, 341.814422},//Skin - 197
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 198
{0.148060, -0.032384, -0.009754, 358.201873, 0.415596, 333.484924},//Skin - 199
{0.148060, -0.032384, -0.009754, 358.201873, 0.415596, 333.484924},//Skin - 200
{0.140799, 0.025145, -0.009754, 358.201873, 0.415596, 5.040688},//Skin - 201
{0.140799, 0.015851, -0.009754, 358.201873, 0.415596, 349.796478},//Skin - 202
{0.140799, -0.004372, -0.013685, 358.201873, 0.415596, 349.796478},//Skin - 203
{0.154274, 0.006245, -0.013685, 358.201873, 0.415596, 2.035465},//Skin - 204
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 205
{0.154274, 0.016669, -0.013685, 358.201873, 0.415596, 2.035465},//Skin - 206
{0.106604, 0.004805, -0.011840, 358.201873, 0.415596, 2.035465},//Skin - 207
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 208
{0.148378, -0.003807, -0.011840, 358.201873, 0.415596, 2.035465},//Skin - 209
{0.113854, 0.001969, -0.011840, 358.201873, 0.415596, 343.826263},//Skin - 210
{0.149539, -0.028623, -0.009621, 358.201873, 0.415596, 331.587280},//Skin - 211
{0.104024, -0.014549, -0.009621, 358.201873, 0.415596, 331.587280},//Skin - 212
{0.145820, -0.029160, -0.009621, 358.201873, 0.415596, 331.587280},//Skin - 213
{0.148646, -0.008515, -0.009621, 358.201873, 0.415596, 1.360260},//Skin - 214
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 215
{0.148646, -0.005935, -0.004058, 358.201873, 0.415596, 1.360260},//Skin - 216
{0.148646, -0.015611, -0.004058, 358.201873, 0.415596, 340.374938},//Skin - 217
{0.133952, -0.030138, -0.009880, 358.201873, 0.415596, 340.374938},//Skin - 218
{0.140503, -0.033425, -0.005693, 358.201873, 0.415596, 340.374938},//Skin - 219
{0.114608, 0.009020, -0.009135, 358.201873, 0.415596, 352.932006},//Skin - 220
{0.186516, -0.044762, -0.009135, 358.201873, 0.415596, 344.217132},//Skin - 221
{0.186516, -0.044762, -0.009135, 358.201873, 0.415596, 344.217132},//Skin - 222
{0.179908, -0.010779, -0.009135, 358.201873, 0.415596, 344.217132},//Skin - 223
{0.156689, -0.015437, -0.009135, 358.201873, 0.415596, 352.741638},//Skin - 224
{0.156689, -0.015437, -0.009135, 358.201873, 0.415596, 352.741638},//Skin - 225
{0.134990, -0.034685, -0.009135, 358.201873, 0.415596, 340.812927},//Skin - 226
{0.151760, 0.002680, -0.009135, 358.201873, 0.415596, 340.812927},//Skin - 227
{0.167410, -0.028664, -0.009135, 358.201873, 0.415596, 340.250427},//Skin - 228
{0.127699, -0.015571, -0.006103, 358.201873, 0.415596, 347.232238},//Skin - 229
{0.100555, -0.007753, -0.006103, 358.201873, 0.415596, 347.232238},//Skin - 230
{0.126940, 0.016886, -0.006103, 358.201873, 0.415596, 347.232238},//Skin - 231
{0.132949, -0.017515, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 232
{0.146124, -0.008425, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 233
{0.125714, -0.021018, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 234
{0.084982, -0.009809, -0.008594, 358.201873, 0.415596, 347.232238},//Skin - 235
{0.114669, -0.005190, -0.008594, 358.201873, 0.415596, 351.301177},//Skin - 236
{0.123264, -0.014946, -0.008594, 358.201873, 0.415596, 351.301177},//Skin - 237
{0.146656, -0.023925, -0.006749, 358.201873, 0.415596, 334.356781},//Skin - 238
{0.133769, -0.007373, -0.006749, 358.201873, 0.415596, 343.105895},//Skin - 239
{0.165378, -0.020173, -0.005869, 358.201873, 0.415596, 348.352233},//Skin - 240
{0.143331, -0.133577, -0.011472, 358.201873, 0.415596, 312.328857},//Skin - 241
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 242
{0.098602, 0.002084, -0.011472, 358.201873, 0.415596, 348.195495},//Skin - 243
{0.124240, -0.011682, -0.006423, 358.201873, 0.415596, 341.555999},//Skin - 244
{0.158155, -0.044311, -0.005439, 358.201873, 0.415596, 336.024902},//Skin - 245
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 246
{0.164307, -0.040974, -0.006797, 358.201873, 0.415596, 337.067047},//Skin - 247
{0.191578, -0.040435, -0.010605, 358.201873, 0.415596, 340.908203},//Skin - 248
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 249
{0.135208, -0.015243, -0.011916, 358.201873, 0.415596, 340.908203},//Skin - 250
{0.134272, -0.027377, -0.006035, 358.201873, 0.415596, 333.416168},//Skin - 251
{0.158813, -0.038977, -0.006035, 358.201873, 0.415596, 336.013519},//Skin - 252
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 253
{0.165106, -0.048880, -0.009719, 358.201873, 0.415596, 331.050933},//Skin - 254
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 255
{0.142586, 0.020829, -0.008549, 358.201873, 0.415596, 2.765411},//Skin - 256
{0.134018, -0.024462, -0.008549, 358.201873, 0.415596, 339.642486},//Skin - 257
{0.147750, -0.042854, -0.008114, 0.951334, 0.415596, 330.441131},//Skin - 258
{0.147750, -0.042854, -0.008114, 0.951334, 0.415596, 330.441131},//Skin - 259
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 260
{0.134710, 0.006798, -0.008114, 358.188964, 0.415596, 352.703582},//Skin - 261
{0.111691, 0.006798, -0.008114, 358.188964, 0.415596, 352.703582},//Skin - 262
{0.146077, -0.005195, -0.008114, 358.188964, 0.415596, 3.866970},//Skin - 263
{0.135858, -0.157842, -0.008114, 358.188964, 0.415596, 314.852203},//Skin - 264
{0.127964, 0.000132, -0.008114, 358.188964, 0.415596, 352.699432},//Skin - 265
{0.127964, -0.002646, -0.008114, 358.188964, 0.415596, 352.699432},//Skin - 266
{0.132329, -0.014261, -0.007384, 1.504234, 0.415596, 352.699432},//Skin - 267
{0.145951, -0.043442, -0.010053, 1.504234, 0.415596, 320.469390},//Skin - 268
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 269
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 270
{0.141851, -0.034538, -0.010580, 1.504234, 0.415596, 340.349456},//Skin - 271
{0.136473, -0.057088, -0.008204, 1.504234, 0.415596, 318.134399},//Skin - 272
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                 //Skin - 273
{0.124270, 0.003252, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 274
{0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 275
{0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 276
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 277
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 278
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 279
{0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 280
{0.131583, 0.007682, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 281
{0.140515, 0.009018, -0.008204, 1.504234, 0.415596, 346.744995},//Skin - 282
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 283
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 284
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 285
{0.140515, 0.001933, -0.008204, 1.504234, 0.415596, 346.744995}, //Skin - 286
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 287
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 288
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 289
{0.128789, -0.014062, -0.007850, 1.504234, 0.415596, 340.341094},//Skin - 290
{0.158929, -0.027358, -0.010655, 1.504234, 0.415596, 337.298858},//Skin - 291
{0.113309, -0.012434, -0.010655, 1.504234, 0.415596, 337.298858},//Skin - 292
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},                                  //Skin - 293
{0.158438, -0.023891, -0.007217, 1.504234, 0.415596, 337.298858},//Skin - 294
{0.145000, -0.032054, -0.007217, 1.504234, 0.415596, 336.385589},//Skin - 295
{0.139293, -0.069554, -0.010619, 1.504234, 0.415596, 320.746429},//Skin - 296
{0.148252, -0.066463, -0.010619, 1.504234, 0.415596, 320.729705},//Skin - 297
{0.126423, -0.066463, -0.010619, 1.504234, 0.415596, 320.729705},//Skin - 298
{0.144949, -0.040691, -0.008599, 1.504234, 0.415596, 320.729705}//Skin - 299
};

static Float: SkinCapsSet2[300][6] = {
{0.152561, 0.009771, -0.003578, 0.000000, 0.000000, 0.000000}, // CapBack1 - capblack 0
{0.154740, -0.000088, -0.007099, 0.000000, 0.000000, 353.034423}, // CapBack1 - 1
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.171452, 0.020331, -0.009405, 0.000000, 0.000000, 0.328186}, // CapBack1 - 7
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.165115, -0.006727, -0.005117, 0.000000, 0.000000, 350.829223}, // CapBack1 - 9
{0.139765, -0.006727, -0.008035, 0.000000, 0.000000, 350.829223}, // CapBack1 - 10
{0.164338, 0.010682, -0.006304, 0.000000, 0.000000, 1.317132}, // CapBack5 - 11
{0.168692, -0.012686, -0.006304, 0.000000, 0.000000, 2.620430}, // CapBack5 - 12
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.180397, -0.037633, -0.003055, 0.000000, 0.000000, 334.995819}, // CapBack5 - 14
{0.138529, -0.023847, -0.006882, 0.000000, 0.000000, 349.513183}, // CapBack5 - 15
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.165150, 0.008241, -0.002468, 0.000000, 0.000000, 359.865356}, // CapBack5 - 17
{0.125999, -0.006320, -0.007210, 0.000000, 0.000000, 351.895660}, // CapBack5 - 18
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.178122, -0.005292, -0.007210, 0.000000, 0.000000, 357.589874}, // CapBack5 - 20
{0.171341, -0.012229, -0.009898, 0.000000, 0.000000, 351.194061}, // CapBack5 - 21
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.157626, -0.029724, -0.004464, 0.000000, 0.000000, 331.973846}, // CapBack5 - 25
{0.152022, -0.029724, -0.004464, 0.000000, 0.000000, 331.973846}, // CapBack5 - 26
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.180999, -0.032568, -0.011626, 0.000000, 0.000000, 340.068969}, // CapBack5 - 30
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.127392, -0.045833, -0.011626, 0.000000, 0.000000, 332.066528}, // CapBack5 - 39
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.106016, -0.009698, -0.005557, 0.000000, 0.000000, 352.879241}, // CapBack5 - 43
{0.123384, -0.003855, -0.005557, 0.000000, 0.000000, 339.552703}, // CapBack5 - 44
{0.133027, -0.010028, -0.005557, 0.000000, 0.000000, 351.249084}, // CapBack5 - 45
{0.187303, 0.009308, -0.007567, 0.000000, 0.000000, 354.531066}, // CapBack5 - 46
{0.181427, -0.029691, -0.009906, 0.000000, 0.000000, 340.553741}, // CapBack5 - 47
{0.202131, -0.033994, -0.008840, 0.000000, 0.000000, 349.174133}, // CapBack5 - 48
{0.144064, -0.046047, -0.005176, 0.000000, 0.000000, 327.833953}, // CapBack5 - 49
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.156962, -0.014533, -0.005744, 0.000000, 0.000000, 339.649780}, // CapBack5 - 53
{0.170897, 0.032927, -0.004505, 0.000000, 0.000000, 4.658165}, // CapBack5 - 54
{0.170897, 0.000525, -0.008647, 0.000000, 0.000000, 4.658165}, // CapBack5 - 55
{0.170897, 0.000525, -0.008647, 0.000000, 0.000000, 4.658165}, // CapBack5 - 56
{0.204822, 0.013232, -0.007975, 0.000000, 0.000000, 358.332122}, // CapBack5 - 57
{0.137341, 0.002028, -0.007975, 0.000000, 0.000000, 358.332122}, // CapBack5 - 58
{0.186327, 0.028765, -0.006357, 0.000000, 0.000000, 9.349652}, // CapBack5 - 59
{0.167387, -0.014165, -0.010267, 0.000000, 0.000000, 347.202239}, // CapBack5 - 60
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.153622, 0.026057, 0.001912, 0.000000, 0.000000, 1.657262}, // CapBack5 - 62
{0.180733, 0.004340, -0.005340, 0.000000, 0.000000, 0.000000}, // CapBack1 - 63
{0.135751, 0.000370, -0.005340, 0.000000, 0.000000, 351.369049}, // CapBack1 - 64
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.151557, 0.003149, -0.004474, 0.000000, 0.000000, 343.369781}, // CapBack2 - 66
{0.148032, -0.000815, -0.004474, 0.000000, 0.000000, 347.334899}, // CapBack2 - 67
{0.148032, 0.018842, -0.007647, 0.000000, 0.000000, 355.218048}, // CapBack2 - 68
{0.169898, 0.006962, -0.006380, 0.000000, 0.000000, 4.303595}, // CapBack2 - 69
{0.153013, 0.012083, 0.000254, 0.000000, 0.000000, 348.646881}, // CapBack2 - 70
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.150600, 0.005597, -0.006945, 0.000000, 0.000000, 348.646881}, // CapBack2 - 72
{0.151958, 0.007609, -0.007373, 0.000000, 0.000000, 352.321228}, // CapBack2 - 73
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.164638, -0.009942, -0.007373, 0.000000, 0.000000, 347.293334}, // CapBack2 - 75
{0.174797, -0.027673, -0.002500, 0.000000, 0.000000, 347.293334}, // CapBack2 - 76
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.145512, -0.005392, 0.000265, 0.000000, 0.000000, 349.725921}, // CapBack2 - 79
{0.135133, -0.015628, -0.005431, 0.000000, 0.000000, 349.725921}, // CapBack2 - 80
{0.135133, -0.015628, -0.005431, 0.000000, 0.000000, 349.725921}, // CapBack2 - 81
{0.208755, -0.028677, -0.005431, 0.000000, 0.000000, 335.827545}, // CapBack2 - 82
{0.198342, -0.028677, -0.005431, 0.000000, 0.000000, 335.827545}, // CapBack2 - 83
{0.207749, -0.028677, -0.005431, 0.000000, 0.000000, 335.827545}, // CapBack2 - 84
{0.186061, -0.017886, -0.009003, 0.000000, 0.000000, 342.158477}, // CapBack2 - 85
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.162129, -0.029754, -0.009792, 0.000000, 0.000000, 335.401397}, // CapBack2 - 87
{0.162129, 0.006584, -0.005103, 0.000000, 0.000000, 350.173980}, // CapBack2 - 88
{0.173523, -0.018237, -0.008053, 0.000000, 0.000000, 1.074956}, // CapBack2 - 89
{0.173523, 0.004939, -0.005089, 0.000000, 0.000000, 1.074956}, // CapBack2 - 90
{0.173523, -0.002368, -0.005089, 0.000000, 0.000000, 1.074956}, // CapBack2 - 91
{0.191579, -0.039141, -0.005089, 0.000000, 0.000000, 353.232330}, // CapBack2 - 92
{0.190105, 0.007120, -0.005089, 0.000000, 0.000000, 8.263933}, // CapBack2 - 93
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.140587, -0.020173, -0.002521, 0.000000, 0.000000, 354.900054}, // CapBack2 - 95
{0.166945, -0.018467, -0.006057, 0.000000, 0.000000, 340.769165}, // CapBack2 - 96
{0.149077, -0.028112, -0.006057, 0.000000, 0.000000, 340.769165}, // CapBack2 - 97
{0.169777, -0.007985, -0.006057, 0.000000, 0.000000, 340.769165}, // CapBack2 - 98
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.196824, -0.009257, -0.006057, 0.000000, 0.000000, 356.336090}, // CapBack2 - 100
{0.177550, -0.027981, -0.006057, 0.000000, 0.000000, 343.939056}, // CapBack2 - 101
{0.174734, 0.009933, -0.009756, 0.000000, 0.000000, 3.055547}, // CapBack2 - 102
{0.188160, -0.013580, -0.004421, 0.000000, 0.000000, 356.492431}, // CapBack2 - 103
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.190762, -0.013580, -0.004421, 0.000000, 0.000000, 356.492431}, // CapBack2 - 105
{0.187602, -0.025435, -0.010075, 0.000000, 0.000000, 346.004516}, // CapBack2 - 106
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.175870, -0.003954, -0.007077, 0.000000, 0.000000, 346.004516}, // CapBack2 - 108
{0.172407, -0.013431, -0.010775, 0.000000, 0.000000, 346.004516}, // CapBack2 - 109
{0.172407, -0.013431, -0.010775, 0.000000, 0.000000, 346.004516}, // CapBack2 - 110
{0.150013, 0.003311, -0.006409, 0.000000, 0.000000, 352.270080}, // CapBack2 - 111
{0.141717, -0.009559, -0.006409, 0.000000, 0.000000, 352.270080}, // CapBack2 - 112
{0.185393, -0.023785, -0.004980, 0.000000, 0.000000, 345.606567}, // CapBack2 - 113
{0.185393, -0.000169, -0.010926, 0.000000, 0.000000, 351.197326}, // CapBack2 - 114
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.182650, 0.004789, -0.010926, 0.000000, 0.000000, 357.257171}, // CapBack2 - 116
{0.134004, 0.017698, -0.005831, 0.000000, 0.000000, 357.257171}, // CapBack2 - 117
{0.134004, 0.017698, -0.005831, 0.000000, 0.000000, 357.257171}, // CapBack2 - 118
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.178981, -0.028772, -0.004536, 0.000000, 0.000000, 346.605316}, // CapBack2 - 120
{0.183907, -0.011432, -0.004536, 0.000000, 0.000000, 355.820770}, // CapBack2 - 121
{0.165320, -0.005021, -0.004536, 0.000000, 0.000000, 355.820770}, // CapBack2 - 122
{0.200145, -0.002194, -0.008751, 0.000000, 0.000000, 358.896423}, // CapBack2 - 123
{0.182011, 0.001444, -0.002327, 0.000000, 0.000000, 357.818420}, // CapBack2 - 124
{0.151200, 0.008420, -0.005776, 0.000000, 0.000000, 357.818420}, // CapBack2 - 125
{0.187609, 0.001857, -0.004008, 0.000000, 0.000000, 7.271462}, // CapBack2 - 126
{0.188872, -0.010934, -0.006273, 0.000000, 0.000000, 354.714599}, // CapBack2 - 127
{0.187277, -0.010814, -0.012647, 0.000000, 0.000000, 342.365417}, // CapBack2 - 128
{0.133478, 0.005174, -0.012647, 0.000000, 0.000000, 358.076538}, // CapBack2 - 129
{0.096691, -0.040395, -0.006268, 0.000000, 0.000000, 328.075073}, // CapBack2 - 130
{0.159023, -0.001297, -0.003358, 0.000000, 0.000000, 354.126007}, // CapBack2 - 131
{0.052064, -0.014930, -0.003462, 0.000000, 0.000000, 345.376892}, // CapBack2 - 132
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.165563, -0.013992, -0.003462, 0.000000, 0.000000, 356.365600}, // CapBack2 - 134
{0.146837, -0.006449, -0.006697, 0.000000, 0.000000, 349.979614}, // CapBack2 - 135
{0.146837, -0.001257, -0.006697, 0.000000, 0.000000, 353.938903}, // CapBack2 - 136
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.179458, 0.018936, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 138
{0.179458, 0.018936, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 139
{0.182565, 0.010967, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 140
{0.182565, 0.009535, -0.006697, 0.000000, 0.000000, 13.018135}, // CapBack2 - 141
{0.182565, -0.002640, -0.006697, 0.000000, 0.000000, 359.800872}, // CapBack2 - 142
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.228769, -0.002640, -0.011189, 0.000000, 0.000000, 359.800872}, // CapBack2 - 144
{0.171856, 0.000946, -0.001703, 0.000000, 0.000000, 359.800872}, // CapBack2 - 145
{0.154141, -0.004233, -0.008664, 0.000000, 0.000000, 355.798858}, // CapBack2 - 146
{0.149305, -0.024469, 0.000980, 0.000000, 0.000000, 351.391906}, // CapBack2 - 147
{0.176194, -0.021742, -0.003060, 0.000000, 0.000000, 351.391906}, // CapBack2 - 148
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.187446, -0.014221, -0.003060, 0.000000, 0.000000, 2.834435}, // CapBack2 - 150
{0.197199, 0.001229, -0.003060, 0.000000, 0.000000, 2.834435}, // CapBack2 - 151
{0.172892, -0.015298, -0.003060, 0.000000, 0.000000, 2.834435}, // CapBack2 - 152
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.138590, 0.002724, -0.005538, 0.000000, 0.000000, 2.834435}, // CapBack2 - 154
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.219108, -0.037769, -0.001686, 0.000000, 0.000000, 354.529266}, // CapBack2 - 156
{0.155086, 0.003292, 0.001146, 0.000000, 0.000000, 354.529266}, // CapBack2 - 157
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.145796, -0.011042, -0.004201, 0.000000, 0.000000, 354.529266}, // CapBack2 - 160
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.158876, 0.012828, -0.008527, 0.000000, 0.000000, 354.529266}, // CapBack2 - 162
{0.137763, -0.001837, -0.008527, 0.000000, 0.000000, 345.313812}, // CapBack2 - 163
{0.146060, -0.013492, -0.008527, 0.000000, 0.000000, 345.313812}, // CapBack2 - 164
{0.163246, -0.012942, -0.004973, 0.000000, 0.000000, 344.333374}, // CapBack2 - 165
{0.140111, 0.007943, -0.004973, 0.000000, 0.000000, 349.497924}, // CapBack2 - 166
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.141848, 0.007943, -0.010143, 0.000000, 0.000000, 349.497924}, // CapBack2 - 168
{0.165495, 0.006009, -0.005755, 0.000000, 0.000000, 10.909480}, // CapBack2 - 169
{0.172246, 0.002606, -0.011039, 0.000000, 0.000000, 0.820177}, // CapBack2 - 170
{0.179460, -0.000000, -0.006654, 0.000000, 0.000000, 359.487091}, // CapBack2 - 171
{0.179460, -0.000000, -0.006654, 0.000000, 0.000000, 359.487091}, // CapBack2 - 172
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.208994, -0.007943, -0.006654, 0.000000, 0.000000, 345.862579}, // CapBack2 - 174
{0.178250, -0.007943, -0.009599, 0.000000, 0.000000, 345.862579}, // CapBack2 - 175
{0.188804, -0.008412, -0.010471, 0.000000, 0.000000, 357.926025}, // CapBack2 - 176
{0.215245, -0.046786, -0.010471, 0.000000, 0.000000, 333.935485}, // CapBack2 - 177
{0.196470, 0.024980, -0.006861, 0.000000, 0.000000, 9.335173}, // CapBack2 - 178
{0.170804, 0.017931, -0.009900, 0.000000, 0.000000, 9.335173}, // CapBack2 - 179
{0.202440, -0.022104, -0.009900, 0.000000, 0.000000, 350.458648}, // CapBack2 - 180
{0.170491, -0.001973, -0.004454, 0.000000, 0.000000, 350.458648}, // CapBack2 - 181
{0.139138, 0.009438, -0.007567, 0.000000, 0.000000, 350.458648}, // CapBack2 - 182
{0.144261, 0.006484, -0.005938, 0.000000, 0.000000, 350.458648}, // CapBack2 - 183
{0.173439, 0.008749, -0.009442, 0.000000, 0.000000, 4.531515}, // CapBack2 - 184
{0.178510, -0.005743, -0.003814, 0.000000, 0.000000, 354.167968}, // CapBack2 - 185
{0.182519, -0.013562, -0.003814, 0.000000, 0.000000, 354.167968}, // CapBack2 - 186
{0.146338, -0.063390, -0.001417, 0.000000, 0.000000, 331.099212}, // CapBack2 - 187
{0.149057, -0.028143, -0.001417, 0.000000, 0.000000, 331.099212}, // CapBack2 - 188
{0.190356, -0.030107, -0.001417, 0.000000, 0.000000, 343.327667}, // CapBack2 - 189
{0.202054, -0.040251, -0.001417, 0.000000, 0.000000, 343.327667}, // CapBack2 - 190
{0.197020, -0.033725, -0.006150, 0.000000, 0.000000, 343.327667}, // CapBack2 - 191
{0.193556, -0.001809, -0.006150, 0.000000, 0.000000, 355.718383}, // CapBack2 - 192
{0.196684, -0.004270, -0.006150, 0.000000, 0.000000, 355.718383}, // CapBack2 - 193
{0.196684, -0.004270, -0.006150, 0.000000, 0.000000, 355.718383}, // CapBack2 - 194
{0.206905, 0.000445, -0.006150, 0.000000, 0.000000, 7.253017}, // CapBack2 - 195
{0.134116, 0.009748, -0.006150, 0.000000, 0.000000, 1.506720}, // CapBack2 - 196
{0.179956, -0.001632, -0.006150, 0.000000, 0.000000, 1.506720}, // CapBack2 - 197
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.168909, -0.005808, -0.006150, 0.000000, 0.000000, 1.506720}, // CapBack2 - 199
{0.174613, 0.018596, -0.006150, 0.000000, 0.000000, 8.241870}, // CapBack2 - 200
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.186252, 0.025931, -0.006150, 359.226074, 0.000000, 16.592515}, // CapBack2 - 203
{0.163428, 0.002381, -0.010481, 1.199788, 0.000000, 354.398010}, // CapBack2 - 204
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.163428, 0.008872, -0.010481, 1.199788, 0.000000, 354.398010}, // CapBack2 - 206
{0.112955, 0.013557, -0.004934, 1.199788, 0.000000, 354.398010}, // CapBack2 - 207
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.160963, 0.002805, -0.004934, 1.199788, 0.000000, 359.006042}, // CapBack2 - 209
{0.128493, -0.003984, -0.004934, 1.199788, 0.000000, 359.006042}, // CapBack2 - 210
{0.176982, 0.023702, -0.004934, 1.199788, 0.000000, 14.166459}, // CapBack2 - 211
{0.128467, -0.008255, -0.004934, 1.199788, 0.000000, 343.645538}, // CapBack2 - 212
{0.185985, -0.003673, -0.005680, 1.199788, 0.000000, 358.541107}, // CapBack2 - 213
{0.176328, -0.009473, -0.004319, 1.199788, 0.000000, 358.541107}, // CapBack2 - 214
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.181434, 0.009004, -0.004319, 1.199788, 0.000000, 10.780131}, // CapBack2 - 216
{0.161066, -0.037283, -0.004319, 1.199788, 0.000000, 328.898590}, // CapBack2 - 217
{0.149989, 0.001034, -0.007441, 1.199788, 0.000000, 352.247955}, // CapBack2 - 218
{0.158134, 0.033803, -0.004034, 1.199788, 0.000000, 23.654287}, // CapBack2 - 219
{0.137110, -0.021979, -0.006172, 1.199788, 0.000000, 336.757873}, // CapBack2 - 220
{0.221894, 0.006963, -0.006172, 1.199788, 0.000000, 7.847995}, // CapBack2 - 221
{0.204477, -0.043676, -0.006172, 1.199788, 0.000000, 350.189361}, // CapBack2 - 222
{0.207657, -0.008146, -0.006172, 1.199788, 0.000000, 350.189361}, // CapBack2 - 223
{0.190393, 0.000228, 0.001606, 1.199788, 0.000000, 11.879378}, // CapBack2 - 224
{0.190393, 0.000228, 0.001606, 1.199788, 0.000000, 11.879378}, // CapBack2 - 225
{0.163592, 0.006964, -0.009153, 1.199788, 0.000000, 11.879378}, // CapBack2 - 226
{0.182670, 0.016327, -0.005560, 1.199788, 0.000000, 359.033477}, // CapBack2 - 227
{0.200009, -0.013580, -0.005560, 1.199788, 0.000000, 347.257019}, // CapBack2 - 228
{0.151536, -0.004985, -0.003730, 1.199788, 0.000000, 1.332237}, // CapBack2 - 229
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.162618, 0.025505, -0.006327, 1.199788, 0.000000, 1.332237}, // CapBack2 - 231
{0.162618, -0.021187, -0.006327, 1.199788, 0.000000, 1.332237}, // CapBack2 - 232
{0.184628, 0.009246, -0.006327, 1.199788, 0.000000, 9.318798}, // CapBack2 - 233
{0.138607, -0.007896, -0.002440, 1.199788, 0.000000, 357.667327}, // CapBack2 - 234
{0.102028, -0.007896, -0.002440, 1.199788, 0.000000, 357.667327}, // CapBack2 - 235
{0.141433, 0.001568, -0.007129, 1.199788, 0.000000, 357.667327}, // CapBack2 - 236
{0.171422, 0.003976, -0.007129, 1.199788, 0.000000, 14.896168}, // CapBack2 - 237
{0.162112, -0.033918, -0.009757, 1.199788, 0.000000, 329.660644}, // CapBack2 - 238
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.195676, -0.000346, -0.009059, 1.199788, 0.000000, 359.219635}, // CapBack2 - 240
{0.225913, -0.093273, -0.009059, 1.199788, 0.000000, 338.582885}, // CapBack2 - 241
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.119849, 0.008509, -0.004875, 1.199788, 0.000000, 351.250366}, // CapBack2 - 243
{0.142359, -0.007982, -0.002139, 1.199788, 0.000000, 338.201110}, // CapBack2 - 244
{0.213636, 0.020328, -0.002139, 1.199788, 0.000000, 9.539301}, // CapBack2 - 245
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.191313, -0.025602, -0.008449, 1.199788, 0.000000, 345.625457}, // CapBack2 - 247
{0.218937, -0.025602, -0.008449, 1.199788, 0.000000, 345.625457}, // CapBack2 - 248
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.171738, -0.008147, -0.009720, 1.199788, 0.000000, 351.946502}, // CapBack2 - 250
{0.171738, -0.008147, -0.004024, 1.199788, 0.000000, 351.946502}, // CapBack2 - 251
{0.191814, -0.018688, -0.001956, 1.199788, 0.000000, 351.946502}, // CapBack2 - 252
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.191814, -0.018688, -0.001956, 1.199788, 0.000000, 349.399566}, // CapBack2 - 254
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.172645, -0.018688, -0.001956, 1.199788, 0.000000, 349.399566}, // CapBack2 - 256
{0.164325, -0.017981, -0.006244, 1.199788, 0.000000, 339.549896}, // CapBack2 - 257
{0.182589, -0.038286, -0.006244, 1.199788, 0.000000, 339.549896}, // CapBack2 - 258
{0.185917, -0.047972, -0.006244, 1.199788, 0.000000, 339.549896}, // CapBack2 - 259
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.128629, 0.020902, -0.006244, 1.199788, 0.000000, 358.125885}, // CapBack2 - 262
{0.179700, 0.011040, 0.000088, 1.199788, 0.000000, 12.603851}, // CapBack2 - 263
{0.216605, -0.099891, 0.000088, 1.199788, 0.000000, 342.666625}, // CapBack2 - 264
{0.147310, -0.000934, -0.005484, 1.199788, 0.000000, 357.229003}, // CapBack2 - 265
{0.158313, -0.000955, -0.006872, 1.199788, 0.000000, 357.229003}, // CapBack2 - 266
{0.166343, -0.003141, -0.006872, 1.199788, 0.000000, 2.876371}, // CapBack2 - 267
{0.171693, -0.050949, -0.009712, 1.199788, 0.000000, 340.129333}, // CapBack2 - 268
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.178678, -0.035822, -0.005613, 1.199788, 0.000000, 334.835510}, // CapBack2 - 272
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.143802, -0.005543, -0.005613, 1.199788, 0.000000, 342.616333}, // CapBack2 - 274
{0.143802, -0.002142, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 275
{0.143802, -0.002142, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 276
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.154324, 0.004585, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 280
{0.141513, -0.001361, -0.006920, 1.199788, 0.000000, 342.616333}, // CapBack2 - 281
{0.178879, -0.032552, -0.007550, 1.199788, 0.000000, 339.513275}, // CapBack2 - 282
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.148372, 0.012662, -0.003643, 1.199788, 0.000000, 352.562530}, // CapBack2 - 286
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.169198, -0.008094, -0.004952, 1.199788, 0.000000, 355.882568}, // CapBack2 - 290
{0.197062, -0.010244, -0.008868, 1.199788, 0.000000, 347.195098}, // CapBack2 - 291
{0.129213, -0.005561, -0.008868, 1.199788, 0.000000, 347.195098}, // CapBack2 - 292
{0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{0.184856, -0.017724, -0.004568, 1.199788, 0.000000, 340.720977}, // CapBack2 - 294
{0.164693, -0.035874, -0.004568, 1.199788, 0.000000, 338.932373}, // CapBack2 - 295
{0.162584, -0.071738, -0.009352, 1.199788, 0.000000, 324.114501}, // CapBack2 - 296
{0.201801, 0.013063, -0.004067, 1.199788, 0.000000, 11.497174}, // CapBack2 - 297
{0.170668, 0.000798, -0.008211, 1.199788, 0.000000, 0.166477}, // CapBack2 - 298
{0.189388, -0.034348, -0.008211, 1.199788, 0.000000, 338.146575} // CapBack2 - 299
};
Near another enum:
Код:
enum inf
{
omodel,
oslot,
bool: slotreserved,
};
Near similare script
Код:
new pObject[MAX_PLAYERS][inf];
forward Hide2(target);
forward SendPlayerFormattedText(playerid, const str[], define);
new Text:MsgBox2[MAX_PLAYERS];
At gamemodeinit
Код:
{
	print("\n========================================================");
	print(" Ulric Hat/Caps FS by Xaviour212/Dimas Rizward");
	print("========================================================\n");
	for(new i = 0; i < MAX_PLAYERS; ++i)
	{
	    MsgBox2[i] = TextDrawCreate(453.000000, 119.000000, "   You use a Cap");
		TextDrawBackgroundColor(MsgBox2[i], 15);
		TextDrawFont(MsgBox2[i], 1);
		TextDrawLetterSize(MsgBox2[i], 0.380000, 1.500000);
		TextDrawColor(MsgBox2[i], -1);
		TextDrawSetOutline(MsgBox2[i], 1);
		TextDrawSetProportional(MsgBox2[i], 1);
		TextDrawUseBox(MsgBox2[i], 1);
		TextDrawBoxColor(MsgBox2[i], 100);
		TextDrawTextSize(MsgBox2[i], 602.000000, 0.000000);
		if(IsPlayerConnected(i) && !IsPlayerNPC(i))
		{
			pObject[i][slotreserved] = false;
		}
	}
	return 1;
At end of script :

Код:
public SendPlayerFormattedText(playerid, const str[], define)
{
	new tmpbuf[256];
	format(tmpbuf, sizeof(tmpbuf), str, define);
	SendClientMessage(playerid, 0xFF004040, tmpbuf);

SetPlayerAttachedObjectEx(playerid, slot, model, bone, Float:X, Float:Y, Float:Z, Float:RX, Float:RY, Float:RZ)
{
	if(!pObject[playerid][slotreserved])
	{
		pObject[playerid][slotreserved] = true;
	    pObject[playerid][omodel] = model;
		pObject[playerid][oslot] = slot;
		SetPlayerAttachedObject(playerid, slot, model, bone, X, Y, Z, RX, RY, RZ);
	}
	else
	{
	    SetPlayerAttachedObject(playerid, pObject[playerid][oslot], model, bone, X, Y, Z, RX, RY, RZ);
	}
	return 1;
}


GetEmptySlot(playerid)
{
	for(new i = 0; i < MAX_PLAYER_ATTACHED_OBJECTS; ++i)
	{
		if(!IsPlayerAttachedObjectSlotUsed(playerid, i))
		{
			return i;
		}
	}
	return -1;
}

public Hide2(target)
{
	return TextDrawHide2ForPlayer(target, MsgBox2[target]);
}


And the code who you gave me,at onplayercommandtext .. What is wrong ?
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)