Quote:
Originally Posted by Kellan123
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
Hi, why properties not showing case 10 and more ? i can only press 1 - 9.
PHP Code:
case WEAPON: format(entry, charsmax(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.
__________________