29.08.2009, 09:41
Don't Worry, had a long look at SA-MP Wiki and found the /me command which is basically what i need to make the Bot thing.
Thnx all again tho!
EDIT: not working, i used the script above but when i typed /bot Hi! it just came up in text as
Thnx all again tho!
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/bot", true, 4)) // 4 is the length of /bot { if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /bot [message]"); new str[128]; format(str, sizeof(str), "*Tokyo-Drift_BOT %s", str, cmdtext[4]); SendClientMessageToAll(0xFFFF00AA, str); return 1; } return 0; }
Код:
SERVER: You are now logged in as Admin ->->->->*Tokyo-Drift_BOT<-<-<-<-<- DeJordzta: hey all, how r u guyz?