AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need help with this (https://forums.alliedmods.net/showthread.php?t=29181)

k007 05-31-2006 13:26

Need help with this
 
is there a way i could make everyone come in my server use the same custom models (guns ).i have the models i just need a plugin. and i don't wanna set the models by steam ids i want them all public. help!

p3tsin 05-31-2006 13:32

do u need scripting help or is that a request?
if #1, u could take a look at this: http://forums.alliedmods.net/showthread.php?t=15702

k007 05-31-2006 14:20

i need help with the scriptin

k007 05-31-2006 14:22

the 1 lplugin in the link is only for colts i think. i want 1 with all guns

Rolnaaba 05-31-2006 14:27

you would have to type:
Code:
public plugin_init()     {     register_event("CurWeapon","event_curweapon","b") } public event_curweapon(id) {     new ammo, clip     if(get_user_weapon(id,ammo,clip) == CSW_AK47)     {         entity_set_string(id,EV_SZ_viewmodel,"MODEL DIRECTORY")     }
that was for ak then do another one of these
Code:
if(get_user_weapon(id,ammo,clip) == CSW_WEAPON)
and do the model thing again for each weapon

k007 05-31-2006 14:28

that would take me for ever dude. could u do it for me?plz(if u gonne ill do the diorectory my self)

Rolnaaba 05-31-2006 14:30

lol I would but for me to do it I would have to download the models and I am on dial-up making it litterally days for me to download a .mdl file for each weapon sry :/

k007 05-31-2006 14:30

no i ill the models

k007 05-31-2006 14:31

just do it and then ill edit the models my self k cuz i don't know the names and shit

Rolnaaba 05-31-2006 14:32

for me to make the plugin i need to modedl files so I can set them to directories for people to precache them


All times are GMT -4. The time now is 16:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.