24.07.2010, 22:50
so like this??
i did it like that and it didnt work -_-
pawn Код:
else if(checkpointid == otto)
{
new rnd = 2;
new Float:Checkpointtele[2][3] =
{
//x 0 //y 1 //z 2 //a 3
{1266.4143,-785.5112,1091.9063,329.5980}, // just a tele
{1295.6150,-796.5847,1084.0078,181.6979},
};
rnd = random(sizeof (Checkpointtele));
SetPlayerPos(playerid, Checkpointtele[rnd][0], Checkpointtele[rnd][1], Checkpointtele[rnd][2]);
SetPlayerFacingAngle(playerid, Checkpointtele[rnd][3]);
//SetPlayerInterior(playerid, 5);
//SetPlayerPos(playerid, 1267.663208,-781.323242,1091.906250);
}