[Help] Spec a Player
#7

Explicate un poco mas, asн podremos ayudarte.

Код:
public OnPlayerDeath(playerid, killerid){
if(IsPlayerInAnyVehicle(killerid){
TogglePlayerSpectating(playerid, 1)
PlayerSpectateVehicle(GetPlayerVehicleID(killerid));
}
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, killerid);
SetTimerEx("StopDeathSpec", 5000, 0, "dd", playerid);
return 1;}
Код:
forward StopDeathSpec(playerid);
public StopDeathSpec(playerid){
TogglePlayerSpectating(playerid, 0);
SpawnPlayer(playerid);
return 1;}
Esos son los cуdigos correctos, si no me equivoco.
Reply


Messages In This Thread
[Help] Spec a Player - by rankeron - 26.01.2010, 01:06
Re: [Help] Spec a Player - by TheChaoz - 26.01.2010, 02:32
Re: [Help] Spec a Player - by rankeron - 26.01.2010, 02:41
Re: [Help] Spec a Player - by rankeron - 27.01.2010, 22:40
Re: [Help] Spec a Player - by TheChaoz - 28.01.2010, 04:43
Re: [Help] Spec a Player - by xenowort - 28.01.2010, 12:31
Re: [Help] Spec a Player - by leaNN! - 28.01.2010, 12:59

Forum Jump:


Users browsing this thread: 2 Guest(s)