AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Weird, messing up. (https://forums.alliedmods.net/showthread.php?t=17963)

pdoubleopdawg 09-12-2005 17:14

Weird, messing up.
 
This has worked for a couple of days no problem. I come home today, it doesn't show the EntPass Set: line period. Weird.
Code:
public client_PreThink(id) {     if(get_cvar_num("info_on")) {         new player,body,playername[256],authid[33],ip[33],entpass[50]         get_user_aiming(id,player,body)         if(player) {             if(is_user_alive(player) && is_user_alive(id) && is_user_connected(player) && is_user_connected(id)) {                 get_user_info(player,"_entpass",entpass,49)                 get_user_ip(player,ip,32,1)                 get_user_authid(player,authid,32)                 get_user_name(player,playername,255)                 new hudmessage[256]                 format(hudmessage,255,"Name: %s ^nAuthID: %s ^nIp: %s ^nEntpass Set: %s",playername,authid,ip,entpass)                 set_hudmessage(255,24,12,0.04,0.6,_,_,_,_,_,3)                 show_hudmessage(id,hudmessage)             }         }     } }

pdoubleopdawg 09-13-2005 20:31

... Well, it doesn't help if I move it's position up. I put it first in plugins.ini.
It doesn't even put a space inbetween this stuff where it was if I move it..

pdoubleopdawg 09-13-2005 20:39

:)
It only works when it's behind alot of the plugins. Weird. I don't know why it does that, that way, in that order. :?

If anyone can explain to me why (I understand how the order of plugin works and so forthe, but why this weird effect? Could it be it's calling information from a metamod plugin and it loads first? If so, why the whole damn line?)

BioHazardousWaste 09-13-2005 21:16

lol way to solve your own problem :)

pdoubleopdawg 09-13-2005 21:20

I am so idiotic!! I had a younger version of the plugin running from way back when and I added it to my huge admin custom plugin for server. Forgot, no wonder it flashed with them fighting over it. :) NICE!

BioHazardousWaste 09-13-2005 21:21

Hahaha, glad you figured it out man. I dunno how many time's that has happened to me. You spend like 3 hours at it, make a post, then boom you get it. But yeah, dual plugins running really screw everything up.


All times are GMT -4. The time now is 14:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.