String
#1

Does someone know how to fix this,
This is my code:
[pawn] if (strcmp(cmdtext, "/helpls", true)==0)
{
new string[128];
format(string,sizeof(string),"%s Is Requesting Support At LS.");
SendClientMessageToAll(0xFF0000,string);
return 1;
}
[pawn]
In-game This Says: jlefgmnos ---------------------------- Is Requesting Support At LS
Its supposed to say: Torran Is Requesting Support At LS

Does anyone know how to stop this saying:
jlefgmnos ---------------------------- Is Requesting Support At LS

And start saying:
[playername] Is Requesting Support At LS,

[playername] is the players name from whoever said it,
Example if a guy named michael typed /helpls
It would say Michael is requesting support at ls,
Although if someone called torran typed /helpls
It would say Torran is requesting support at ls,

Any help will be good, Ty
Reply


Messages In This Thread
String - by JoeDaDude - 14.04.2009, 14:42
Re: String - by [IB]Scorcher - 14.04.2009, 15:00
Re: String - by SpiderPork - 14.04.2009, 15:03
Re: String - by JoeDaDude - 14.04.2009, 15:05
Re: String - by [IB]Scorcher - 14.04.2009, 15:06
Re: String - by MenaceX^ - 14.04.2009, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)