20.07.2013, 15:02
Explica melhor como isso vai funcionar, porque eu acho que tu criou a variбvel de uma forma errada...
Exemplo:
Exemplo:
pawn Code:
new Float: gRandomVar[][] =
{
{x, y, z},
{x1, y1, z1},
{x2, y2, z2}
};
stock PWN_RandomPos(pId)
{
new rand = random(3);
SetPlayerPos(pId, gRandomVar[rand][0], gRandomVar[rand][1], gRandomVar[rand][2]);
}