27.07.2013, 02:25
I wrote a simple code here it is:
And when i write the command on my server unknow command ?
Код:
CMD:welcome(playerid, params[]) { new string[128], msg[128], pname[MAX_PLAYER_NAME]; if(sscanf(params,"sz",msg)) return SendClientMessage(playerid, 0xCD3333, "/welcome <text>"); format(string, sizeof(string), "*%s %s", pname, msg); SendClientMessageToAll(0xCD3333, string); return 1; }