25.04.2011, 13:48
it will gives much erros as your adding the CJ skin like 4 times....
As far as i know you can do it only once per skin id
OnPlayerSpawn
As far as i know you can do it only once per skin id
pawn Код:
// Add this somewhere under the includes
new Float:SpawnPoints[4][4] =
{
{622.2733,892.5632,-35.2678,332.7885,
{682.1865,836.6607,-42.9609,235.6544},
{540.3431,840.1038,-41.1784,100.0032},
{466.4939,888.5435,-28.5861,246.7895}
};
pawn Код:
new rnd;
rnd = random(sizeof (SpawnPoints));
SetPlayerPos(playerid, SpawnPoints[rnd][0], SpawnPoints[rnd][1], SpawnPoints[rnd][2]);
SetPlayerFacingAngle(playerid, SpawnPoints[rnd][3]);