01.03.2011, 21:41
(
Последний раз редактировалось pawn_; 02.03.2011 в 02:27.
)
Yes, would you like an example?
Be sure to fill those x, y, z, angle things with your positions, if you don't have any, it's a good idea to /save then look over savedpositions.txt.
pawn Код:
new Float:MultipleSpawns[][4]
{
{x, y, z, angle},
{x, y, z, angle},
{x, y, z, angle}
};
public OnPlayerSpawn(playerid)
{
new rand = random(sizeof(MultipleSpawns));
SetPlayerPos(playerid, MultipleSpawns[rand][0], MultipleSpawns[rand][1], MultipleSpawns[rand][2]);
SetPlayerFacingAngle(playerid, MultipleSpawns[rand][3]);
return 1;
}
![Smiley](images/smilies/smile.png)