help server textdraw
#1

I made my logo for server TEXTDRAW

I want hide this 4 textdraw with out repeat code how to that ?

I have this

TextDrawHideForPlayer(playerid, DMLOGO);
TextDrawHideForPlayer(playerid, DMLOGO1);
TextDrawHideForPlayer(playerid, DMLOGO2);
TextDrawHideForPlayer(playerid, DMLOGO3);

But have to hide all this with loop without repeat help +rep
Reply
#2

Quote:
Originally Posted by Hunud
View Post
I made my logo for server TEXTDRAW

I want hide this 4 textdraw with out repeat code how to that ?

I have this

TextDrawHideForPlayer(playerid, DMLOGO);
TextDrawHideForPlayer(playerid, DMLOGO1);
TextDrawHideForPlayer(playerid, DMLOGO2);
TextDrawHideForPlayer(playerid, DMLOGO3);

But have to hide all this with loop without repeat help +rep
Put this somewhere at the top
new DMLOGO[5];

PHP Code:
for(new 04i++)
{
 
TextDrawHideForPlayer(playeridDMLOGO[i]);

This?
Reply
#3

what [5] i dont have 5 i have 4
Reply
#4

Quote:
Originally Posted by Hunud
View Post
what [5] i dont have 5 i have 4
My bad, use 4 instead.
Reply
#5

no work i got many errors
Reply
#6

Quote:
Originally Posted by Hunud
View Post
no work i got many errors
Show me the errors please?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)