Healthkit (like in HL)

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Healthkit (like in HL)

Post by greenie »

I wrote that plugin for fun by a request: http://forums.alliedmods.net/showthread.php?t=24832
I tryed to search for similar plugin on this forums and found nothing like this.
So if you like this plugin - enjoy.

Edit:
- tested on CS successfully
- on DOD seems like it didn't work
- not tested on other mods so i mark it as for CS only

Description:
This plugin basically provides an ability to spawn HL healthkits.
If healthkit is collected it would appear again later like in HL.
Note:Engine module required.
Commands:
healthkit_spawn [save] - spawns a healthkit at the origin of a player who typed that command
if "save" argument is specified then origin would be added to the end of the file
$configsdir/maps/<currentmap>.cfg (file would be created if it is not exists)
that would allow to spawn saved healthkits every specific map load
Note: to avoid error create $configsdir/maps folder if it is not exists.

healthkit_load <x> <y> <z> - spawns a healthkit at the specified origin

healthkit_clear - removes all spawned healthkits

Commands access level is ADMIN_CFG (falg "h") can be redefined (#define ACCESS_LEVEL)

plugin
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œFun Stuff”