Still feeling like a real idiot...
Ok guys, thanx for the help so far... but just wondering about the teleport menu, can't seem to get it working.
amx_teleportmenu does nothing So, that is hopefully my only amxmodx stupid question. But I'm going to go write a script that allows me to heal myself (again, i'm not going to keep this, just trying to figure it all out lol.) So i'll probably have a few questions soon... EDIT: And what exactly is the id variable? Oh yeah, and one more nub question I have... how do I have a multi line message. You know, the message you have shown in amxx.cfg every x seconds? I did this: // Center typed colored messages (last parameter is a color in RRRGGGBBB format) amx_imessage "Welcome to %hostname% - The one and only 1337CS Beta Server!" "000255100" amx_imessage "Testing, Programming, and Brainstorming positions are open!" "000255100" amx_imessage "For more info contact Smooth Criminal, or another admin! "000255100" But what that did was play one every x seconds instead of 3 lines instead of displaying all 3 every x seconds. |
Fun module is required.
|
ok, thanx, got that all figured out.. still wondering what the id variable is though? is it ALWAYS the person who typed the command?
|
Yes.
|
Quote:
|
oh my god, now i really feel like an idiot.. it's the return of a function... wow... i'm speechless (almost)... *throws he at feet*
|
Ok, I did pretty well I think.. wrote a heal script without posting and got it to compile :). Problem is it doesn't work... not sure what the hell is going on here! I did a debug and i got this error
Quote:
Code:
Please help.. thanx (for interests sake, I couldn't find that file in my steam directory and subdirectories) |
Try
Code:
|
Ok, thanx that got rid of the error... but now nothing happens, or nothing appears to happen. Am I correct in assuming it's a logical coding error? On compile I got the following warnings:
/home/groups/amxmodx/tmp/phpkFBMfI.sma(19) : warning 211: possibly unintended assignment and /home/groups/amxmodx/tmp/phpkFBMfI.sma(27) : warning 219: local variable "health" shadows a variable at a preceding level Would one of those two be causing the problem? Also, is there a way to get rid of /home/groups/amxmodx/tmp/phpkFBMfI.sma(57) : warning 217: loose indentation and does it really matter? Thanx again |
Code:
Code:
As for your loose-indentation warnings, ignore them (or fix them). Also, you could use Avalanche's online-indenter. :) |
| All times are GMT -4. The time now is 09:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.