18.08.2010, 06:18
Код:
if(IsAtEvent[playerid]) // or whatever variable that defines the player is in an event { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid,A); SetSpawnInfo(playerid, playerid, PlayerInfo[playerid][pModel],X, Y, Z, A, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); return 1; }