20.06.2010, 12:09
weґll ive posted for a respawn time thing and a guy posted this
Re: where can i find...
« Reply #1 on: Today at 12:41:45 pm » Quote
--------------------------------------------------------------------------------
Code:
public OnPlayerDeath(playerid)
{
TogglePlayerSpectating(playerid,1);
SetCameraLookAt(2000.0,129.0,34.0);
SetCameraPos(1999.0,120.0,330.0);
SetTimerEx("spawnplayer",10000,0,"i",playerid);
return 1;
}
Anywhere in the script:
Code:
forward spawnplayer(playerid);
public spawnplayer(playerid)
{
SpawnPlayer(playerid);
SetCameraBehindPlayer(playerid);
return 1;
}
and i dont know where to do this in my script plz help my msn is sniperskill@live.nl
Re: where can i find...
« Reply #1 on: Today at 12:41:45 pm » Quote
--------------------------------------------------------------------------------
Code:
public OnPlayerDeath(playerid)
{
TogglePlayerSpectating(playerid,1);
SetCameraLookAt(2000.0,129.0,34.0);
SetCameraPos(1999.0,120.0,330.0);
SetTimerEx("spawnplayer",10000,0,"i",playerid);
return 1;
}
Anywhere in the script:
Code:
forward spawnplayer(playerid);
public spawnplayer(playerid)
{
SpawnPlayer(playerid);
SetCameraBehindPlayer(playerid);
return 1;
}
and i dont know where to do this in my script plz help my msn is sniperskill@live.nl