Raised This Month: $51 Target: $400
 12% 

error 050: invalid range


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iNvectus
Member
Join Date: Sep 2014
Location: Bulgaria
Old 04-07-2017 , 14:42   error 050: invalid range
Reply With Quote #1

This is the code.The lines the error is are case print_team_blue .. print_team_default. I cant do it like that or?

PHP Code:
public duel_print(idtype, const Text[], any: ... )
{
    new 
message[128]; vformatmessagecharsmaxmessage ), Text);
    switch (
type)
    {        
        case 
print_team_blue .. print_team_default// -3 .. 0
        
{
            
client_print_color(idtypemessage);
            
client_print_color(duel_props[id][duel_pair], typemessage);
        }
        case 
print_notify .. print_center// 1 .. 4
        
{
            
client_print(idtypemessage);
            
client_print(duel_props[id][duel_pair], typemessage);
        }
    }

iNvectus is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 04-07-2017 , 14:45   Re: error 050: invalid range
Reply With Quote #2

Use ',' instead of '..'
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 12:20.


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