Quote:
Originally Posted by Marlon_Lorran
Try this:
Код:
new rand = random(sizeof(TruckerSpawn));
SetPlayerPos(playerid, TruckerSpawn[rand][SpawnX], TruckerSpawn[rand][SpawnY], TruckerSpawn[rand][SpawnZ]);
SetPlayerFacingAngle(playerid, TruckerSpawn[rand][SpawnAngle]);
|
Thanks. how I fix facing. not facing where I put the spawn at.