Help with my plugin
Alright, this isn't a plugin test anymore, I guess I need help :(
Well here is what I have, Code:
It is suppose to change the model of a person who is in the clan.cfg file... So basically, you put a user's steamid into "clan.cfg" and when the round resets, their model changes to either clanter.mdl or clanct.mdl depending on what team they are on. Thanks in advance guys! |
It's not going to work.
Code:
Moving this to "Scripting Help". |
i have 4 and lots of players so ill help anyway i can. just pm me when/if ya need me
|
Yeah, v3x I wasn't sure how to make it check a .cfg file for STEAM ID's listed...
I tried to look at the admin.sma that comes with amxmodx, but I guess I was extremely unsuccessful, halp plz! :( |
Look at my "Clan tag checker" plugin.
|
Quote:
If you are trying to load things from a file: Code:
|
Alright, here's what I want, I want this plugin to check clanmodels.cfg for STEAM ID's and if your STEAM ID is in the clanmodels.cfg, it will change your CS model to either clanter.mdl or clanct.mdl depending on what Team you are on...
Here's what I have Code:
Thanks in advance =) |
Not tested, but it compiles okay :)
Code:
One small note: Make sure the folder where de models are in is named the same as the model itself. EG: models/clanter/clanter.mdl and NOT models/clanmodels/clanter.mdl Same with the CT models offcourse Good luck :D |
That's a terrible way of doing it. You should load the files on startup, then store them all in a global variable. Here, I'll show you:
Code:
|
That's right. But I was in a hurry when I made it :wink: (no exuse though =P)
[offtopic]BTW. Why are you doing me -3 karma hits every day V3X. Together with Su1cide[/offtopic] |
| All times are GMT -4. The time now is 05:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.