Raised This Month: $ Target: $400
 0% 

Weird problem.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 11-19-2017 , 16:15   Re: Weird problem.
Reply With Quote #1

How would I know? I don't know what plugins you're running.



Here's another problem:

Code:
L 11/19/2017 - 22:22:51: Invalid player id 66
L 11/19/2017 - 22:22:51: [AMXX] Displaying debug trace (plugin "test1.amxx")
L 11/19/2017 - 22:22:51: [AMXX] Run time error 10: native error (native "get_use
r_flags")
L 11/19/2017 - 22:22:51: [AMXX]    [0] test1.sma::SayRegistered (line 111)
(Counter-Terrorist) Black Rose : hello
Code:
        new    pnum,             players[32];                   get_players( players,pnum );                   for( new i;i < pnum;i++ )         {             if( get_user_team( id ) == get_user_team( player[i] ) || get_user_flags( player[i] ) & ADMIN_FLAGS )                 ColorChat( players[i] , iColor, sFormat );         }
player[] is a string containing the player name, players[] is the array of players.
have you even looked at the log? It's so much easier to debug things with the server console at least partially visible on screen so you see when bugs occur. That will help you to figure out the cause.

Last edited by Black Rose; 11-19-2017 at 16:36.
Black Rose is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:05.


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