Help for a useful plugin?
Hi im very new to scripting (sorry for my english (usualy gramer)),
I want to make a plugin I want to learn some useful things for my plugin. First I want to make a plugin that if some one is not in a team (spectator) and wants to type "respawn" this plugin will kick the player. Pls help me with this plugin . What i know : If, If else , Case if ,for What i didnt understand by looking to the plugin .sma's: for i=.......... , max players I can understand well please help me |
Re: Help for a useful plugin?
Search for some useful tutorials on the code's and snippets section..:up:
|
Re: Help for a useful plugin?
Thanks but i searceh a lot but i couldn't find what I was searching can you give me links?
|
Re: Help for a useful plugin?
about the for loops. It's actually quite simple.
PHP Code:
PHP Code:
|
Re: Help for a useful plugin?
Quote:
. PHP Code:
|
Re: Help for a useful plugin?
Quote:
But i don't understand what's wrong with the continue. I learned it this way. |
Re: Help for a useful plugin?
PHP Code:
PHP Code:
|
Re: Help for a useful plugin?
Quote:
PHP Code:
Quote:
|
Re: Help for a useful plugin?
When i tested it i didnt work :(
I was spectator i typed respawn in chat i couldnt see that i typed respawn but when i closed this plugin i could see. And it didnt kick me when i was spectator and typed "respawn" |
Re: Help for a useful plugin?
I changed it a bit like snow said. It doesn't work on my listenserver because id is not found, but i think it will on a real server.
PHP Code:
|
| All times are GMT -4. The time now is 07:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.