[Solved]Error Need help
First ill start by saying my plugin is designed to stack users in a pyramid formation atop the admin. My plugin compiles fine, no errors or warnings. Its weird though when i use it in a game.
Its suppose to stack people like this: - - - <This guy doesnt show up-- -- - <Admin--- But it keeps leaving out the last man. Heres the error i get in console: L 04/20/2005 - 17:17:34: [AMXX] Native error in "set_user_origin" on line 155 (file "StackX.sma"). L 04/20/2005 - 17:17:34: [Fun] Player out of range (0) I've checked the line that is says, I cant find anything. Heres the code: Help is much appriciated thanks eXist *EDIT* I have debugged the plugin Code:
|
:shock: WOW! Sorry to say it, but you really need to go study some common programming logic.. like working with Arrays and loops.. then come back and try again.. Just giving you the answer won't help you..
|
You post is just a waste of space. It doesnt help me get anywhere, it just critizizes me. And its not like i havnt tried to look up the errors and arrays and things. This forum is a last resort, if you cant figure something out you come here, and thats what I'm doing.
|
I figured out the problem. And it has nothing to do with studing loops and arrays over. Your a complete asshole man, i forgot the a = 0 between loop 1 and 2 and u send me on a goose chase because either 1: You just a dick to people or 2: Your to ignorant to even know what the problem is, and post just to get attention. You shouldn't just degrate people like that xeroblood.
|
eXist
xeroblod is more then right. You should learn a few things before scripting. u didnt even register ur plugin ROFL in ur whole plugin i only see a few usefull lines. everything else can be rewritten in a much better way using arrays like blood say and especialy for loops |
First off freecode, yes I'm a newbie at coding, thats because I'm just starting and doing things the way i know them. Second i have registered my plugin i just didnt paste to save room. Third xeroblood has no right to scorn people just because they're new at something.
|
Quote:
1: I am not a dick to people, I help as often as I can, but some people simply fail to take advice.. 2: I am not ignorant, you are -- your problem is obvious, but you fail to see it.. And I don't need/want attention.. Also, I never degraded you in any way, I was offering advice on what you should focus on learning. You may not find much help here with such an attitude.. These forums are for learning HL-AMXX scripting, not general programming.. Sorry to have offended you, it was not intended. |
I know your trying to help but you dont need to start your reply with
Quote:
|
My surprise was meant to indirectly emphasize my point, not to lower your dignity.
I didn't intend for you to interpret it so harshly! :wink: |
Yea im sorry too :)
|
| All times are GMT -4. The time now is 09:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.