05.07.2011, 19:18
Quote:
pawn Код:
|
the float starter of 0.
Correct:
pawn Код:
new Float:gRandomSpawns [MAX_SPAWNS] [4] = {
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z},
....
{x,y,z},
{x,y,z}
};
SetPlayerPos(playerid,gRandomSpawns [random(sizeof(Float:gRandomSpawns ))] [0],gRandomSpawns random(sizeof(Float:gRandomSpawns ))] [1],gRandomSpawns [random(sizeof(Float:gRandomSpawns ))] [2]}