05.07.2012, 15:22
I have typed in game the command /save...
now, example:
OnPlayerSpawn
and set me the wrong facing angle...
another example,
make this with command
and set me the wrong facing angle...
another...
i have used
but not good for what I do
now, example:
PHP код:
new
Float: SF_Hospital[4][4] =
{
{-2655.2932, 635.5321, 14.4531, 175.5259},
{-2697.4255, 630.3593, 14.4545, 235.0598},
{-2706.5320, 608.5297, 14.4531, 268.2735},
{-2706.3767, 590.6129, 14.4531, 300.8604}
};
PHP код:
switch(GetPlayerTeam(playerid))
{
case blah_blah... :
{
new
rand = random(sizeof(SF_Hospital));
SetPlayerPos(playerid, SF_Hospital[rand][0], SF_Hospital[rand][1], SF_Hospital[rand][2]);
SetPlayerFacingAngle(playerid, SF_Hospital[rand][3]);
return 1;
}
}
another example,
make this with command
PHP код:
SetPlayerPos(playerid, -2655.2932, 635.5321, 14.4531);
SetPlayerFacingAngle(playerid, 175.5259);
another...
i have used
PHP код:
SetSpawnInfo