30.04.2014, 20:38
I have spec system there it save the latest x, y, z position, when you go off spec you are suposed to spawn there but i dont, i spawn instead at here
pawn Код:
//onplayerspawn
if(InDMS[playerid] == 1)
{
new DMSRandom = random(sizeof(RandomDMSpawns));
SetPlayerPos(playerid, RandomDMSpawns[DMSRandom][0], RandomDMSpawns[DMSRandom][1], RandomDMSpawns[DMSRandom][2]);
SetPlayerFacingAngle(playerid, RandomDMSpawns[DMSRandom][3]);
SetTimer("DMSTimer", 3000, false);
}