Please Help Me!
#6

Quote:
Originally Posted by UFF
Посмотреть сообщение
You should use format for both the SendClientMessage like you did for SendClientMessageToAll!

Line 37:
Код:
new msg1[400];
format(msg1, sizeof(msg1), "{FF0000}You have killed {FFFF00}%s(%i){FF0000} with a Headshot!", playerName, playerid);
SendClientMessage(issuerid, COLOR_WHITE, msg1);
Line 40:
Код:
new msg2[400];
format(msg2, sizeof(msg2), "{FF0000}You have been killed in a Headshot by {FFFF00}%s(%i)!", otherName, issuerid);
SendClientMessage(playerid, COLOR_WHITE, msg2);
anyway there is no need to make new var for each time

just using one new string[400]; should be enough and each time you can format it
Reply


Messages In This Thread
Please Help Me! - by BladeGamingYT - 18.10.2018, 09:07
Re: Please Help Me! - by khRamin78 - 18.10.2018, 09:18
Re: Please Help Me! - by khRamin78 - 18.10.2018, 09:20
Re: Please Help Me! - by UFF - 18.10.2018, 09:22
Re: Please Help Me! - by BladeGamingYT - 18.10.2018, 09:28
Re: Please Help Me! - by khRamin78 - 18.10.2018, 09:45

Forum Jump:


Users browsing this thread: 1 Guest(s)