Help with a amx_showip
I tried to rebuild foreign plugin to try because I've never dealt with these things and you just try, I began to read articles and tutorials on scripting, but still fall short of the errors do not appear to understand, I would like tell me where is my mistake in this case, and if you can hang himself how to fix it, with a short, clear and precise explanation.
Here's the code: PHP Code:
I Altered only part of the plugin: PHP Code:
My English is very very bad but I do not know much, but it's enough for me right! :D |
Re: Help with a amx_showip
PHP Code:
You dont need to make them arrays. Secondly get_user_team doesnt work like this.Again no need of making it an array PHP Code:
PHP Code:
Correct way is PHP Code:
Edit : http://forums.alliedmods.net/showthread.php?p=372646 You can use this as well. |
Re: Help with a amx_showip
I made another attempt and I think it worked, but time function and frags and deaths can not print them, but he spent the MAP.
PHP Code:
This is a Connect Plugin say message on connect player, i know that there are many plugins do not rub it, as they are the easiest what to do GanGame original plugin you do it yourself ... Learn about the last time I say! PHP Code:
|
Re: Help with a amx_showip
get_user_deaths( ) function returns the number of deaths of the player. For example
PHP Code:
|
Re: Help with a amx_showip
Quote:
This is only for a particular customer or is against the client frags marks them there because now Bulgaria's 6:00 and I can not call any player to come and do a test and use the bot. If only the ID of the client, and this adds to frags does work. |
Re: Help with a amx_showip
Quote:
|
Re: Help with a amx_showip
Quote:
0 = Unassigned 1 = Terrorist 2 = Counter Terrorist 3 = Spectator |
Re: Help with a amx_showip
You dont Need to loop through players .. instead of id use 0 .. It will print to all the players. Test it yourself.
PHP Code:
|
Re: Help with a amx_showip
PHP Code:
Only yesterday did not show and still enters Terrosit and showed me CT |
Re: Help with a amx_showip
Quote:
|
| All times are GMT -4. The time now is 15:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.