08.02.2009, 15:27
Hey guys
how can i create death messages like
[killerid] [weaponpicture] [deathid]
?
how can i create death messages like
[killerid] [weaponpicture] [deathid]
?
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, reason, playerid);
return 1;
}
Originally Posted by [XG
Lj ]
pawn Код:
|
public OnPlayerDeath(playerid, killerid, reason)
{
if( GetPlayerVirualWorld( playerid ) ) == 0 )
{
SendDeathMessage(killerid, reason, playerid);
}
}
Originally Posted by Schock
how to get it only on virtual world 0?
and this Quote:
|
Originally Posted by SpiderPork
Why would you use GetPlayerVirtualWorld?
|
Originally Posted by Schock
how to get it only on virtual world 0?
and this Quote:
|
Originally Posted by SpiderPork
Why would you use GetPlayerVirtualWorld?
|
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}