I cant test this plugin right now
1 Attachment(s)
hej , i made a simple plugin its called amx santa.Its just a plugin that will change a player into a santa model and it will give him speed , hp , armor , and a sexie glow. I cant test this right now because i dont have steam here.
I tried to download it but my comp is to slow for it .( win98 ) So i wanna ask you to try it out for me. the cvar is amx_santa nick (you will need the admin_cvar flag). place the player model at models/player/santa/santa.mdl .and please tell me if it works this is just beta need alot of changes probably. thank you for your time. |
Re: I cant test this plugin right now
Right now your SetModel function won't effect the player you tell it to, it will effect the player calling the function. This is because, instead of grabbing the arguments passed and getting a user from it, you just use the id of the player who called it.
But, your model change won't work anyway. cs_set_user_model takes the name of the model, not the path. So, in this case, you would use the name "santa". Here is how I would do it. Code:
Also, you don't need to return anything in plugin_init or plugin_precache. |
Re: I cant test this plugin right now
Well thank you avalanche. like you see im just a noob in amx scripting still need to learn alot.
|
| All times are GMT -4. The time now is 08:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.