Show your variable declaration and its enumeration...
And isn't it supposed to be defined like this?
pInfo[MAX_PLAYERS][<the enum where SKIN is located>][<the variable where KiSize is located]
so you use this instead?
pawn Код:
pInfo[playerid][skin][KiSize]
Because i'm sure you shouldn't change "skin" id with a floating value right
(like what you did above) and instead using "KiSize" for the floating value right? (as it's a size)
so it's should be declared like this:
pawn Код:
//lets says that you are having enum like this:
enum E_SKIN_DATA
{
Float:KiSize,
// etc
};
new pInfo[MAX_PLAYERS][300][SKIN_DATA]; // 300 for the skins
// then use it like this
Float:KiSize
OR if the form is true "KiSize" then "skin" (where a player can hold every 300 skins size, eh for what?)
it should be declared like this:
as max skin id is 299
The 2 options above depends on how your enumeration looks like,
But if you are looking for a single SKIN and single KiSize, then you should combine it like this:
pawn Код:
// lets says that you are having enum like this:
enum E_PLAYER_DATA // change to your player info enum
{
// your other data
skin,
Float:KiSize,
// your other data
};
new pInfo[MAX_PLAYERS][E_PLAYER_DATA];
// then use it like this:
pInfo[playerid][skin] = GetPlayerSkin(playerid);
// and for the size:
pInfo[playerid][KiSize] = 1.5;