1st plugin -> help
well, im learning c++ on school , almost 1 year of c++ programming, i ever wanted to make my own cs plugins, now that i know a programming language i think i can learn pawn, but i need some help to start, i already read lots of tutorials, and im trying to make my first plugin.
thats what i got so far: PHP Code:
so im asking if anyone can finish this plugin, comenting EVERY line so i can understand it better ;) Thank you |
Re: 1st plugin -> help
you may search in forum,
I found a post just have likely question as you https://forums.alliedmods.net/showthread.php?t=90236 try this see if it helps |
Re: 1st plugin -> help
Code:
|
Re: 1st plugin -> help
lol guys , look at his code , he want to give grenade not to the person who use the command but to a target player..
you can look at this post https://forums.alliedmods.net/showpo...68&postcount=3 |
Re: 1st plugin -> help
yeah my bad lol
fixed now |
Re: 1st plugin -> help
PHP Code:
|
Re: 1st plugin -> help
Quote:
PHP Code:
But i got 2 warnings, any1 know why? |
Re: 1st plugin -> help
PHP Code:
On page : Pitfalls: differences from C.... ..... ..... ..... .... ..... ..... ...133 This tutorial is pawn generic, not amxx but you can still get some usefull information in it. Here you can get usefull tutorials : https://forums.alliedmods.net/showthread.php?t=172936 See the part about optimizing plugins : http://wiki.amxmodx.org/Optimizing_P...X_Scripting%29 ( pawn compiler is different from C ) Good luck. |
Re: 1st plugin -> help
ConnorMcLeod you made the same mistake that i did originally, giving the grenade to id instead of iTarget
|
Re: 1st plugin -> help
I don't know what you mean.
|
| All times are GMT -4. The time now is 21:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.