format textdraw
#1

I am wondering where I would put a text draw that shows info, such as k/d:R on the screen. Like the create part.

I was gonna put it under OnGameModeInit but it doesn't support playerid.
Reply
#2

***Bump***
Reply
#3

OnPlayerConnect? OnPlayerSpawn?
Reply
#4

I don't want them to create when people join. Some times like 5 - 10 people join in 30 secs, could cause memory spikes...
Reply
#5

Use a for loop:
for(new playerid;playerid<MAX_PLAYERS;playerid++)
{
//code here
}
Reply
#6

I thought about that. But if I loop it, it gets called x amout of time. And some point disappears.
Reply
#7

Create at OnPlayerConnect and destroy at OnPlayerDisconnect.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)