Adding string to a Textdraw
#1

Thank you guys for your help, I fixed it!
Reply
#2

Make those textdraws at OnGameModeInit, and under OnPlayerSpawn only update the string ( TextDrawSetString )
Reply
#3

Quote:
Originally Posted by ikey07
Посмотреть сообщение
Make those textdraws at OnGameModeInit, and under OnPlayerSpawn only update the string ( TextDrawSetString )
Okey I did it but now it replaces it instead of adding a line under it. You know how to do that?
Reply
#4

at the top

new GlobalNames[256];

format(GlobalNames,sizeof(GlobalNames),"%s",Player Name(playerid));


TextDrawSetString(TD,GlobalNames);




format(GlobalNames,sizeof(GlobalNames),"%s%s",Glob alNames,PlayerName(playerid));


TextDrawSetString(TD,GlobalNames);


something like this?
Reply
#5

Alright thanks I'll try it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)