Camouflage
Hey egain :D
guess what? i was bored egain :P This one is bigger, and far from ready. But i dont know or it is right untill now. The consept is simple: for 16000$ you can buy an enemy suit. Code:
|
Far from it.
|
can you give me a hint? :D
thx anyway |
To start, on stuff like cs_get_user_model(index)
The index refers to a player index, which in this case would be id. Second, don't use if Player(CS_Team_CT) or w/e. Use this: Code:
You always have to use id in this case, so it isn't cs_get_user_money, it's cs_get_user_money(id). And finally I think models are constant from Cstrike so you don't need to put const, or the little []. Code:
You can try this, although I'm not sure if it will pick a random model. |
i'll try to build further on this first thing in the morning.
thx man :up: |
No problem.
|
ok this is what i got:
Code:
Code:
thx |
having
Code:
Code:
All a matter of the ! ;) |
i think this would work, but even though the files exist dont u need a precache anyways? im not sure bout that...
is this supposed to last only for one round? Code:
|
to return their model on death, just register the deathmsg
Code:
register_event("DeathMsg", "user_death", "a")Code:
public user_death(id)so i would suggest doing something like Code:
public user_death(id)Code:
new TModels[]Code:
new bool:g_hasCamo[33]Code:
g_hasCamo[id] = true |
| All times are GMT -4. The time now is 20:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.