[HELP] #DEFINE Question
#3

Quote:
Originally Posted by R4nk3d
How would i define 1 word as a variable?

ex:
Code:
new var[64];
format(var,64,"%s",username[playerid]); //in this case, R4nk3d
#define a "var"
So when I type print(var) it prints R4nk3d.
Code:
new var[64];
format(var,64,"%s",username[playerid]); //in this case, R4nk3d
print(var);
It already prints R4nk3d, doesn't it?
Reply


Messages In This Thread
[HELP] #DEFINE Question - by tom_jonez - 01.12.2009, 20:53
Re: [HELP] #DEFINE Question - by Byrner - 02.12.2009, 00:56
Re: [HELP] #DEFINE Question - by niCe - 02.12.2009, 01:50
Re: [HELP] #DEFINE Question - by tom_jonez - 02.12.2009, 02:02
Re: [HELP] #DEFINE Question - by Giacomand - 02.12.2009, 03:03
Re: [HELP] #DEFINE Question - by tom_jonez - 02.12.2009, 03:11
Re: [HELP] #DEFINE Question - by yezizhu - 02.12.2009, 03:40
Re: [HELP] #DEFINE Question - by tom_jonez - 02.12.2009, 19:42
Re: [HELP] #DEFINE Question - by Malice - 02.12.2009, 20:25
Re: [HELP] #DEFINE Question - by Streetplaya - 02.12.2009, 20:32

Forum Jump:


Users browsing this thread: 2 Guest(s)