devil where are you? come help me again
Code:
#include <amxmodx>Quote:
|
post code
|
done, maybe u can also help me, my "frist time ever doing this" plugin seems abit...empty
|
First, plugin_init doesnt return a value
Second, stop using notepad, and start using actual tabs instead of spaces Third, if statements need {} unless you just want to execute the next line Fourth, give_item is in fun, so fun needs to be included, amxmisc isnt used so it doesnt need to be included Fifth, use [ small] [ /small] when posting plugins I fixed the code :) Code:
|
so that will work?
Code:
so if i amx_shieldwar 1, will everyone get a shield and deagle? looks like only the person -.- and how to make it keep doing it every round oh ya, i using JK editor |
There is an event you could map for new_rounds in your plugin_init so that you could supply that stuff every round. Something like this:
Code:
// Calls new_round at the start of each new round, put in plugin_init()Code:
public new_round(id){ |
Code:
here's the one asskickr helped me edit, where do i put? |
I think this would be it , but I'm kinda new to scripting too :
Code:
|
nope
it got errors /home/users/amxmodx/tmp/iFnEQvFb.sma(32) : warning 217: loose indentation /home/users/amxmodx/tmp/iFnEQvFb.sma(32) : error 029: invalid expression, assumed zero /home/users/amxmodx/tmp/iFnEQvFb.sma(32) : error 017: undefined symbol "new_round" /home/users/amxmodx/tmp/iFnEQvFb.sma(52) : error 001: expected token: "}", but found "-end of file-" 3 Errors. |
| All times are GMT -4. The time now is 14:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.