10.06.2016, 12:11
pawn Код:
SetPlayerVirtualWorld(playerid, LastVW[playerid]);
SetPlayerInterior(playerid, LastInt[playerid]);
SetSpawnInfo(playerid, 0, skin, LastX[playerid], LastY[playerid], LastZ[playerid]+0.5,0, 0,0,0,0,0,0);
SpawnPlayer(playerid);
SetCameraBehindPlayer(playerid);
SpawnTimer[playerid] = SetTimerEx("SpawnTime", 2500, 0, "i", playerid);
SendClientMessage(playerid, COLOUR_RED, "You have been returned to your previous position.");
pawn Код:
forward SpawnTime(playerid);
public SpawnTime(playerid)
{
if(SpawnTimer[playerid] == 0)
{
TogglePlayerControllable(playerid, 1);
Streamer_Update(playerid);
}
return 1;
}
pu