01.03.2015, 20:53
Quote:
|
It's difference. InteriorCoords[12][0] is normal value which you can use, but InteriorCoords[12] is an array of values. You can't use arrays in SetPVarFloat - generally you can nowhere use arrays in default functions, you can create these, for example
Код:
public OnGameModeInit()
{
new Float:fArray[][] = {
{0.0, 1.1, 2.2},
{0.0, 1.1, 2.2},
{0.0, 1.1, 2.2}};
saveFloat(2, fArray[2]);
}
stock saveFloat(playerid, Float:theArray[]) printf("%.1f %.1f %.1f %d", theArray[0], theArray[1], theArray[2], playerid);
|


