Well , how about this ??
#1

ummm it has been a while i havent asked for help .. look as i have bult a system to tell the stats .. now i want it to show the team name .. not the number which it usualy does .. and when i put this %s there i doesnt show nothing...

this is the code ..
format(text, sizeof(text), "| TEam: %d|",gang[playerid]); and i changed the %d to %s .. and nothing showed up ... there have to be a text thingy which i dont know .. maybe there is a link of this .. but i can search for this .. but i dont know what to search for ..

now as i have put at the top the gangs with numbers it shows me only the numbers .. now to make it to show the name ?
#define balla 0
#define grove 1

well i have done this ... what to add here ?
if( team[playerid] == balla)
{
??;
}
Reply
#2

top of script
Код:
#define MAX_NAMES 2
#define balla 1
#define grove 2
new JobNames[MAX_NAMES][32] =
{
{"Balla"},
{"Grove"}
};
Код:
format(text, sizeof(text), "| Team: %s|",JobNames[balla - 1]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)