CVars
sm_gifts_lifetime - Lifetime of the gifts Def: 10.0
sm_gifts_chance - Chance of dropping gifts Def: 0.60sm_gifts_model - Model of the gift - Def: models/items/cs_gift.mdl
Stuff for developers
PHP Code:
native Gifts_RegisterPlugin(String:functionName[]);
native Gifts_RemovePlugin();
Stuff for server admins
Checks addons, although there's not much yet.
Addons
I'll post any gift plugin here, just PM me with URL.
Changelog
1.1 - I shouldn't be submitting new plugins drunk
Attached Files Get Plugin or Get Source (zgifts_test.sp - 493 Bytes) zgifts_test.smx (2.4 KB) gifts.inc (262 Bytes) zgifts.smx (5.4 KB) Get Plugin or Get Source (zgifts.sp - 4.1 KB)
Wyświetl pełny artykuł