player text Problem
#1

hi Guys today my friend got a bug which is : when the player Sends a Message first line is using the yellow color which he want but the second line (of the text which is sent by a player) is white the problem he want it yellow too
Picture:
Reply
#2

Whatever you're using to concatenate your string is sending the second with a different color for the client message. Find that and set it to yellow.
Reply
#3

Quote:
Originally Posted by Sebz
Посмотреть сообщение
Whatever you're using to concatenate your string is sending the second with a different color for the client message. Find that and set it to yellow.
thanks, can u show me an example please?
Reply
#4

CTRL+F for 'strcat' and see if you can find where the SendClientMessage related to that is located. It appears it's there two times with two different colors.
Reply
#5

Quote:
Originally Posted by Sebz
Посмотреть сообщение
CTRL+F for 'strcat' and see if you can find where the SendClientMessage related to that is located. It appears it's there two times with two different colors.
dude please understand me, it's not SendClientMessage which the server sends to a player/players but it's a message which a player has pressed T then wrote it finally pressed enter to send it to everyone. my friend who made this gm had that problem which when someone write a text only the first line is yellow the other lines becomes white so he need help in making it all yellow
Reply
#6

CTRL+F -> public OnPlayerText(playerid, text[])

Post the code within that here and I'll help you out.
Reply
#7

Just saying, instead of that parachute pickup for the jetpack, you could use a jetpack pickup...
Reply
#8

Increase string size.
Reply
#9

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Just saying, instead of that parachute pickup for the jetpack, you could use a jetpack pickup...
xD i'm not the scripter who used parachute pickup for jetpack and i do not have the code source but ryderX :/ needs help
anyway +Rep
Quote:
Originally Posted by Astralis
Посмотреть сообщение
Increase string size.
Thanks +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)