#1

Well i made a team system and i would like to give them names,well specific names for example

Код:
#define TEAM_DRIVERS 1

TextDrawSetString(Text,"TEAM_DRIVERS");
So "DRIVERS" would show in the textdraw as Taxi Drivers,how would i do that?
Reply
#2

Very bad idea to use the old team system, move towards Array based functions.
Reply
#3

PHP код:
#define TEAM_DRIVERS "Drivers"

TextDrawSetString(Text,TEAM_DRIVERS); 
Try that.
Reply
#4

Код:
If(howugetplayersteam == TEAM_DRIVERS)
         {
new string[50];
format(string,sizeof(string),"Team Taxi Drivers");
TextDrawSetString(string,TextDrawName);
  }
this should work maybe idk what u meant tho
Reply
#5

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
Very bad idea to use the old team system, move towards Array based functions.
Hey if it gets the job done,so be it.

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
PHP код:
#define TEAM_DRIVERS "Drivers"
TextDrawSetString(Text,TEAM_DRIVERS); 
Try that.
Errors,it seems as though i need the integers there.

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
Код:
If(howugetplayersteam == TEAM_DRIVERS)
         {
new string[50];
format(string,sizeof(string),"Team Taxi Drivers");
TextDrawSetString(string,TextDrawName);
  }
this should work maybe idk what u meant tho
?
Reply
#6

I'm not really a fan of bumping topics before 24 Hour but i really need this,anyone?
Reply
#7

Are you trying to create a textdraw for each team? explain your problem a bit more please and show us the textdraw whom you're trying to use "TextDrawSetString" for.
Reply
#8

Quote:
Originally Posted by iLearner
Посмотреть сообщение
Are you trying to create a textdraw for each team? explain your problem a bit more please and show us the textdraw whom you're trying to use "TextDrawSetString" for.
You've got to be kidding me I'm sure i clearly stated what i'm trying to do
Reply
#9

In that case, stay stuck mate.
Reply
#10

Quote:
Originally Posted by iLearner
Посмотреть сообщение
In that case, stay stuck mate.
K,thanks for shitposting. Jack/Ali/Thatfag understand its right there do i need to write it 1000 times

All i'm trying to do is change the integer "1" to a string (class string.)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)