some errors while compiling
Hi,
i'm new on scripting(started learning: today :P). I started a new plugin(and didn't finish yet) and i wanted to see if what i did until now is works good. I tried to compile it but i got those errors: Quote:
PHP Code:
Thx all! |
Re: some errors while compiling
Cleaned up your code:
PHP Code:
ServerCommand("") executes a console command on the server. |
Re: some errors while compiling
thx!!!!
Youre awesome!! Just two more questions: 1. How can i do a popup menu and how i display it to a player? 2. I want that if someone write sm_tl 5 so it makes mp_teamlimit to 5 and if i'll write even 100 it will change it to 100, how i do that? thx again!! |
Re: some errors while compiling
anyone?
|
Re: some errors while compiling
|
Re: some errors while compiling
still,
i didn't get it \= how can i do that if i'll write: sm_tl 123 it will change mp_teamlimit to 123(for example), can you write me how to do thah(the code)? |
Re: some errors while compiling
ben, show us what you've tried and we'll help.. otherwise you might want to try the plugin ideas & requests section.
|
Re: some errors while compiling
hmm i dont even know how to START :S
|
Re: some errors while compiling
Ok, so first thing is to read over the wiki, start with the first part on writing your first SourceMod plugin and then re-read the wikis on ConVars and menu handling. Second thing is to search through the API and look at any functions you have questions over. Third thing is to find some good examples to see how other people did things. The best way to do that is search through some of the approved plugins. Here's an example of using the ConVar in a simple plugin, look through his SP file to get more ideas.
http://forums.alliedmods.net/showthread.php?p=1097121 |
Re: some errors while compiling
i know how to use concvar,
but i dont know how to use it in a custom use, like !tl 2 for doing mp_teamlimit 2, now do you understood what i ment to? |
All times are GMT -4. The time now is 16:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.