12.11.2012, 18:47
pawn Код:
new Float:dsx,
Float:dsy,
Float:dsz;
public OnPlayerSpawn( playerid )
{
SetPlayerPos( playerid, dsx, dsy, dsz );
PlayerPlaySound( playerid, 1139, 0.0, 0.0, 0.0 );
SendClientMessage( playerid, ~1, "SERVER: You have been respawned at murder place!" );
return ( 1 );
}
public OnPlayerDeath( playerid, killerid, reason )
{
GetPlayerPos( playerid, dsx, dsy, dsz );
SendClientMessage( playerid, ~1, "SERVER: You died! You will respawn right here!" );
return ( 1 );
}