12.10.2013, 21:22
i want to know how to make a credits line please tell me if you know
if(strcmp(cmd, "/mycommand", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_WHITE, "your text"); SendClientMessage(playerid, COLOR_WHITE, "your text"); } return 1; }
CMD:credits(playerid, params[]) { SendClientMessage(playerid,-1, "_________|- Your server's Credits -|_________"); SendClientMessage(playerid, red, "This is 1 line,"); SendClientMessage(playerid, red, "This is 2"); SendClientMessage(playerid, red, "This is 3"); return 1; }
CMD:credits (playerid, params[]) { SendClientMessage(playerid, COLOR_YELLOW, "_________________________________________"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_WHITE, "Yourtext"); SendClientMessage(playerid, COLOR_YELLOW, "_________________________________________"); return 1; }