Help with features and better code. [probably fixed]
I have a plugin which isn't good, and wont be released here (it stinks)
So basically this is what I have: Code:
Basically what it should do is give the player the money defined by money (works) and the gun defined by gun (I dont think this works, didnt work for "glock", name might be wrong but double check code because it looks fine to me.) and the player should be spawned instantly. A bug I am getting is that the player sometimes leaves behind a leftover, passable player model on respawn, kind of annoying. The /say respawn feature is just there for developement reasons and doesnt even need to be there... Thx in advance! |
Look here for the correct CS index names. http://www.amxmodx.org/funcwiki.php?go=module&id=4
You could define those globally. That way either CSW_GLOCK18 or glock works. The "left behind" player model is a HL bug, you can fix it by spawning the player twice. For example, 1st spawn, .5 secs 2nd spawn, .7 secs |
nither "CSW_GLOCK18" or "glock" will work with "give_item"
that link you gave does not even have the correct things to use for item_give in it. http://forums.alliedmods.net/showthread.php?t=35512 As I already told you on AIM it should be "glock18" |
As of now I no longer require help. I think.
|
| All times are GMT -4. The time now is 08:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.