Posts: 198
Threads: 17
Joined: Jul 2013
Reputation:
0
• It's not a good idea to place your code when he spawn, that mean each time he dead then spawn, the message will be sent.
• Why you use GameText, you can simply use SendClientMessageToAll.
Posts: 564
Threads: 149
Joined: Jan 2011
Reputation:
0
Thats why i have a variable, under on player connect, so everytime i spawn it doesnt come up.....
Posts: 413
Threads: 19
Joined: Aug 2013
Reputation:
0
But it would be better if it is on OnPlayerConnect, because it will show the Message(s) when you joined.
and if it is on OnPlayerSpawn, it will show the Message(s) when you got spawned.
Posts: 198
Threads: 17
Joined: Jul 2013
Reputation:
0
I saw your variable but I've never saw when you turn it to 0 when he died but when he disconnect you add it.
Posts: 564
Threads: 149
Joined: Jan 2011
Reputation:
0
Either way, wont appear the message :/
Posts: 686
Threads: 17
Joined: Mar 2013
Reputation:
0
Are you sure you are actually connecting with [COD]Alex? (Sounds stupid to ask but it happens xD)
Doesn't look like theres anything wrong with your code (besides the fact that the name variable is 256 instead of 24/MAX_PLAYER_NAME :P).
I threw it into my script and it worked perfectly. Are you lagging or anything when you spawn, and you actually don't see it in time?