no arrays or too many subscripts
well...
this is my first time coding and now i need help Code:
it gives me 2 error messages first one is on the 3rd line and it says that it has no arrays or too many subscripts the 2nd error is on like 4 about loose indentation thxs in advance |
Re: no arrays or too many subscripts
Code:
Your weaponChange(id) function opens with that first bracket, then you have the if statement. However, you just have (get_user_flags(id)) out there alone. Without the white space, it would look like this: Code:
So you should either put the { right after the if statement or put (get_user_flags(id)) inside the parentheses. |
thxs capndurk but now I have one error and its something different
Code:
the error says error 001: expected token: "(", but found "{" cheers Midget |
Quote:
Code:
This statement would return true if the player has access to admin chat. What are you intending to do with this get_user_flags(id)? |
i'm currently trying to make a model changer
|
Quote:
|
i'll tell you what im' trying to do
i want a plugin where the plugin changes one side of the team's models such as the knife i dont really want to change the whole skin just to note this is for cs and i want to change the terroist knife |
here is the code for the plugin you want, and this should do the trick.
credits: http://ghw-amxx.com/viewtopic.php?t=18 (thanks v3x!) Code:
if it doesn't work, you might have to change the directory to something other than "models/claws.mdl" |
sweet as
thxs for your time capn and here's a +Karma now time to study :cry: |
1 Attachment(s)
hmm
your last post with the script doesn't work for some reason... the model isn't showing up but it compiles fine... [EDIT] i have a screen shot of what is happening |
| All times are GMT -4. The time now is 16:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.