#1

when i use the say command/announce/pm it doesn't write anything exept numbers (if i will try to write a - it won't do anything but with numbers it works perfect...)
codeno errors)
PHP код:
if(strcmp(cmd"/say"true) == 0)
{
new 
tmp[256];
tmp strtok(cmdtextidx);
if(!
strlen(tmp)){
SendClientMessage(playeridCOLOUR_ORANGE"Usage: /say [text]");
return 
1;
}
new 
text;
text strval(tmp);
new 
playername[MAX_PLAYER_NAME];
GetPlayerName(playeridplayernamesizeof(playername));
new 
string[128];
format(stringsizeof(string), "**Admin [%s](id:%d): %s"playernameplayeridtext);
SendClientMessageToAll(COLOUR_REDstring);
return 
1;

Reply


Messages In This Thread
help - by omer5198 - 12.02.2011, 05:28
Re: help - by Mean - 12.02.2011, 10:27
Re: help - by omer5198 - 12.02.2011, 13:09
Re: help - by omer5198 - 12.02.2011, 13:49
Re: help - by HyperZ - 12.02.2011, 14:57
Re: help - by omer5198 - 12.02.2011, 18:02
Re: help - by Vince - 12.02.2011, 18:06
Re: help - by omer5198 - 12.02.2011, 18:16

Forum Jump:


Users browsing this thread: 2 Guest(s)