30.10.2015, 22:17
Bom do GM й isso...
PHP код:
if(killerid != INVALID_PLAYER_ID) SendDeathMessage(killerid, playerid, reason);
else SendDeathMessage(INVALID_PLAYER_ID, playerid, reason);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
ScoreNaSessao[killerid]++;
CallRemoteFunction("DarDinheiro", "ii", killerid, 100);
if(killerid == INVALID_PLAYER_ID)
{
TogglePlayerSpectating ( playerid , 1 );
PlayerSpectatePlayer ( playerid , 49 );
SetTimerEx ( "FinishPlayerSpectatePlayer" , 5000 , 0 , "i" , playerid );
}
TogglePlayerSpectating ( playerid , 1 );
PlayerSpectatePlayer ( playerid , killerid );
SetTimerEx ( "FinishPlayerSpectatePlayer" , 5000 , 0 , "i" , playerid );