AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   sadasd (https://forums.alliedmods.net/showthread.php?t=229912)

Kellan123 11-16-2013 16:48

sadasd
 
Awww

fysiks 11-17-2013 15:49

Re: Properties not showing case 10 and more
 
Quote:

Originally Posted by Kellan123 (Post 2061726)
i can only press 1 - 9.

That is the case for everyone with a standard keyboard. There is no key for "10" or more.


Quote:

Originally Posted by Kellan123 (Post 2061726)
Hi, why properties not showing case 10 and more ? i can only press 1 - 9.

PHP Code:

                        case WEAPONformat(entrycharsmax(entry), "\r1. \w%s: \y%s^n"property1_name[block_type], 
                        
property[0] == 22 "M249" property[0] == 21 "Aug" property[0] == 20 "Sg552" property[0] == 19 "Awp" property[0] == 18 "Scout" property[0] == 17 "M4a1" property[0] == 16 "Ak47" property[0] == 15 "Famas" 
                        
property[0] == 14 "Galil" property[0] == 13 "P90" property[0] == 12 "Ump45" property[0] == 11 "Mp5" property[0] == 10 "Mac10" property[0] == '9' "Tmp" property[0] == '8' "Xm1014" property[0] == '7' "M3" 
                        
property[0] == '6' "Elite" property[0] == '5' "Deagle" property[0] == '4' "FiveSeven" property[0] == '3' "P228" property[0] == '2' "Usp" "Glock18"); 

Thanks.

Have you tried debugging it? Check to see if the case is actually being executed with a client or server print. Otherwise, it's hard to see what is going on without the full code.

Kellan123 11-17-2013 17:58

Re: Properties not showing case 10 and more
 
Quote:

Originally Posted by fysiks (Post 2062105)
That is the case for everyone with a standard keyboard. There is no key for "10" or more.




Have you tried debugging it? Check to see if the case is actually being executed with a client or server print. Otherwise, it's hard to see what is going on without the full code.

1 Post Updated.

fysiks 11-18-2013 00:08

Re: Properties not showing case 10 and more
 
Quote:

Originally Posted by fysiks (Post 2062105)
Have you tried debugging it? Check to see if the case is actually being executed with a client or server print. Otherwise, it's hard to see what is going on without the full code.


Kellan123 11-18-2013 09:20

Re: Properties not showing case 10 and more
 
Now working, but thanks fysiks :)

fysiks 11-19-2013 00:07

Re: Properties not showing case 10 and more
 
Quote:

Originally Posted by Kellan123 (Post 2062365)
Now working, but thanks fysiks :)

So what was wrong with the code then?


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

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