14.06.2012, 07:06
Under GameModeInit put this, replace x, y, z and angle with your own coords.
For class selection, replace x, y, z with the coords where the player should be, angle wich way he should be facing, and replace Cx, Cy and Cz with the coords of the camera.
EDIT: How did you have time to write all that in so short time O_o
pawn Код:
for(new cx=0; cx<300; cx++) //Makes a loop from 0 to 299 (all skins)
{
AddPlayerClass(cx, x, y, z, angle, 0, 0, 0, 0, 0, 0);
}
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, x, y, z);
SetPlayerFacingAngle(playerid, angle);
SetPlayerCameraPos(playerid, Cx, Cy, Cz);
SetPlayerCameraLookAt(playerid, x, y, z);
return 1;
}

