Fixed server_changelevel (fsfod)
Added dod deathmsg stock (Pimp_Daddy)
This commit is contained in:
parent
4754ccdd1d
commit
58578690ad
|
@ -37,7 +37,7 @@ forward plugin_cfg();
|
||||||
forward plugin_end();
|
forward plugin_end();
|
||||||
|
|
||||||
/* Function called to handle changelevel */
|
/* Function called to handle changelevel */
|
||||||
forward server_changelevel();
|
forward server_changelevel(map[]);
|
||||||
|
|
||||||
/* Called on log message. */
|
/* Called on log message. */
|
||||||
forward plugin_log();
|
forward plugin_log();
|
||||||
|
|
|
@ -162,6 +162,19 @@ stock make_deathmsg(killer,victim,headshot,weapon[])
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Creates a death message. */
|
||||||
|
stock dod_make_deathmsg(killer,victim,weaponNUM)
|
||||||
|
{
|
||||||
|
|
||||||
|
message_begin(MSG_ALL,get_user_msgid("DeathMsg"),{0,0,0},0)
|
||||||
|
write_byte( killer )
|
||||||
|
write_byte( victim )
|
||||||
|
write_byte( weaponNUM)
|
||||||
|
message_end()
|
||||||
|
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
/* Kills a user without a message. */
|
/* Kills a user without a message. */
|
||||||
stock user_silentkill(index)
|
stock user_silentkill(index)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user