16.02.2013, 20:05
if you cant do it that way do it another.
pawn Код:
new RandomCheckPointNum;
new Float:RandomCheckPoint[][3] = {
{1229.9495,730.8387,11.1036},
{1219.4697,728.7880,11.1036},
{1231.9760,747.9662,11.1036}
};
//then use it like this
SetPlayerCheckpoint(i,RandomCheckPoint[RandomCheckPointNum][0], RandomCheckPoint[RandomCheckPointNum][1], RandomCheckPoint[RandomCheckPointNum][2],2.0);
RandomCheckPointNum++; if(RandomCheckPointNum>= sizeof(RandomCheckPoint)) RandomCheckPointNum=0;//this is so the next one is not the same as the last one.

