26.02.2018, 18:37
Quote:
Do you mean like this?:
Код:
fpublic OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID){ //All of my codes here } } |
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid == INVALID_PLAYER_ID)
return 1;
// Your code...
}