3 scripting questions
I have some questions:
1. What means warning "tag mismatch"? 2. Can I restrict buying weapons without restricting the buyzone? 3. How can i find out, that user changed team? (I know about register_clcmd("jointeam","blabla")), but doesn't work allways wlll) sorry for my english |
Re: 3 scripting questions
1. You declare something wrong, search the forums. I can't tell you why do you receive the error without the code.
2. client_buy forward by ConnorMcLeod. 3. You can return player's team, using cs_get_user_team() or simply get_user_team(). |
Re: 3 scripting questions
1. The tag doesn't match the definition of the variable.
3. Why do you think it doesn't work well? You'll need to learn that it is best to tell us what exactly you are trying to do when asking for any sort of help (and not ask for help on something that you 'think' is the solution). |
Re: 3 scripting questions
Here's the plugin: (I'm trying to create my TF mode :) )
PHP Code:
|
Re: 3 scripting questions
http://forums.alliedmods.net/showthread.php?t=187025 - Constants part.
|
Re: 3 scripting questions
But I don't know why I have a problem with my plugin. :D It is hard to rapair my plugin if i don't know the cause :D
|
Re: 3 scripting questions
You're trying to assigns strings to a float variable.
Remove the quotes around the numbers in speeds, healths and armors. |
Re: 3 scripting questions
Thanks, it's working now :)
One more question: If i create a mode that includes foreign plugins (for example sentryguns, dispensers...), have i to ask the authors of those plugins or is it enough when i mention that autor is Mr. XY? sorry for my english |
Re: 3 scripting questions
Quote:
|
Re: 3 scripting questions
Thanks :)
Im sorry, i have two next questions :D How can i get the part of body, where the player was hitted? And how can i get the weapon, that was the damge caused by? How can i restrict earning money? |
| All times are GMT -4. The time now is 18:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.