Changing models & skins
Hey there,I wanna ask how can I change the model of weapons using client command.
For Example: If clients types in "/giveme" then he would get few stuff + there weapon models or skins will also be changed with my precached skins ? Is it possible? I have used "cs_set_user_model" //I know it changes user model,Just checking :D But it didn't worked.Any guesses? |
Re: Changing models & skins
Can you give your code please.
|
Re: Changing models & skins
Here you go,
PHP Code:
|
Re: Changing models & skins
hook FM_SetModel.
|
Re: Changing models & skins
I found this on wiki,How can I hook this ?
PHP Code:
PHP Code:
Error: Invalid function call, not a valid address on line 20 Error: Undefined symbol "ent" on line 20 Warning: Expression has no effect on line 20 Error: Expected token: ";", but found ")" on line 20 Error: Too many error messages on one line on line 20 I know I am doing this wrong :D Whats the correct way? |
Re: Changing models & skins
PHP Code:
|
Re: Changing models & skins
Can I use fw_FM_SetModel instead of _FM_SetModel o_O?
What is pev and equali o_O? Where can I use them? |
Re: Changing models & skins
1) you can use whatever you want
2) search the forums for examples |
Re: Changing models & skins
I really you think read some tutorials (as me :D), I'm still learning fakemeta whom Backstabnoob gave you an example about it.
If you never read a pawn tutorial, here is a good one that helped me A LOT: Pawn Picture Tutorial Here is one for fakemeta: Fakemeta General usage This is a link for Useful Tutorials, Guides, Snippets, and References |
Re: Changing models & skins
I have read Pawn Picture Tutorial many times.
But,Thanks for the Fakemeta General Usage tutorial,Let see What I learn from that o_O :D |
| All times are GMT -4. The time now is 06:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.