15.02.2014, 17:08
(
Последний раз редактировалось Mellnik; 15.02.2014 в 17:43.
)
When I use SetSpawnInfo in OnPlayerDeath, the server respawns me in the class-selection.
Example:
This does not happen always.
Edit:
Sorry, forgot to post this:
Example:
Код:
new rand = random(4); SetSpawnInfoEx(playerid, NO_TEAM, GetPlayerSkin(playerid), WorldSpawns[rand][0], WorldSpawns[rand][1], WorldSpawns[rand][2] + 3.0, WorldSpawns[rand][3]);
Edit:
Sorry, forgot to post this:
Код:
SetSpawnInfoEx(playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle) { return SetSpawnInfo(playerid, team, skin, x, y, z, Angle, 0, 0, 0, 0, 0, 0); }