[HELP] #DEFINE Question
#4

i need to use it like this:
Code:
new var[64];
format(var,64,"%s",username[playerid]); //in this case, R4nk3d
#define a var
format(a,sizeof(a),"%s",field);
so i can put in say... Players[playerid][username] as the var string. define "a" as the var string. and then write a into pawno so the code reads, format(Players[playerid][username],sizeof(Players[playerid][username]),"%s",field); and not format(a,sizeof(a),"%s",field);

Get what I'm saying? It's hard for me to explain i think.
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: 3 Guest(s)