Mario Coins
2 Attachment(s)
Mario Coins Description: Collect coins from dead bodies to reach the "thing" called 1UP. If you have 1UP you will respawn after death! Should work on CZ too. Cvars: - mc_bodycoin - 1 [how many coins will players pick up from a dead body] - mc_maxcoins - 4 [how much coins you will need to collect until you will have 1UP] - mc_respawntime - 10 [respawn time if you have 1UP] - mc_glowcoin - 1 [enable or disable coin glowing] - mc_enabled - 1 [enable or disable the plugin] Modules: - fakemeta - engine - hamsandwich - cstrike Credits: - apocalips for the coin model[no more used] - HunterDigital for the new coin model, from now the coin will spin+float xD - HamletEagle for some code tweaking and optimisations Image: http://i65.tinypic.com/22khw.jpg . |
Re: Mario Coins
Nice idea, I like it!
|
Re: Mario Coins
Hook_DeathMessage()
- szWeapon is not used. - - You could use directly create_entity() - Check if entity is valid before setting origin - Why PLUGIN_HANDLED ? There is no point to return that. - AFAIK, info_target is a dummy entity, using DLLFunc_Spawn won't do nothing. |
Re: Mario Coins
ups the code was done one year ago. =] thanks arkshine, idk why i used weapon, i will recheck that, please understand me i made this code one year ago xD
|
Re: Mario Coins
I understand, but don't release because it's cool. Please test your plugins before.
|
Re: Mario Coins
i tested this before and that check works fine :) i got some screenshots and everything seems okay..
|
Re: Mario Coins
Ok, I think I've understood wrongly the purpose of the cvar. I thought you could respawn # times (max being MaxCoinsForLife)
|
Re: Mario Coins
Cool , Fantastic a plugin GJ :)
|
Re: Mario Coins
WB Tuty
|
Re: Mario Coins
Nice! Screenshots?
But doesn't work... When I kill someone, there is no coins... Aswell the plugin is loaded... |
All times are GMT -4. The time now is 08:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.