Setting a name for an ID? +rep
#3

PHP код:
stock GetWeaponByID(weapon)
{
    new 
string[30];
    
GetWeaponName(weaponstringsizeof(string));
    return 
string;

for example
PHP код:
printf("%s"GetWeaponByID(24)); 
will print out "Desert Eagle"
Reply


Messages In This Thread
Setting a name for an ID? +rep - by RLGaming - 08.10.2012, 22:29
Re: Setting a name for an ID? +rep - by park4bmx - 08.10.2012, 22:44
Re: Setting a name for an ID? +rep - by ReneG - 08.10.2012, 22:44
Re: Setting a name for an ID? +rep - by RLGaming - 08.10.2012, 23:30
Re: Setting a name for an ID? +rep - by vIBIENNYx - 09.10.2012, 03:41
Re: Setting a name for an ID? +rep - by zSuYaNw - 09.10.2012, 06:33
Re: Setting a name for an ID? +rep - by RLGaming - 09.10.2012, 06:57
Re: Setting a name for an ID? +rep - by park4bmx - 09.10.2012, 09:05
Re: Setting a name for an ID? +rep - by RLGaming - 09.10.2012, 15:04
Re: Setting a name for an ID? +rep - by park4bmx - 09.10.2012, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)