24.11.2010, 16:07
Use publics, timers.
Example:
Change the code and here you go.
Don't forget to add forwards too!
Example:
Code:
public YouPublicName(playerid) { SendClientMessage(playerid, COLOR_NEWOOC, "____________________________________________________________________________________________"); SendClientMessage(playerid, COLOR_WHITE, "YOUR TEXT OVER HERE!"); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!."); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!"); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!"); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!."); SendClientMessage(playerid, COLOR_NEWOOC, "____________________________________________________________________________________________"); SetTimerEx("YouPublicNameTwo", 8000, 0, "d", playerid); return 1; } public YouPublicNameTwo(playerid) { SendClientMessage(playerid, COLOR_WHITE, "YOUR TEXT OVER HERE!"); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!."); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!"); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!"); SendClientMessage(playerid, COLOR_GREY, "YOUR TEXT OVER HERE!."); SendClientMessage(playerid, COLOR_NEWOOC, "____________________________________________________________________________________________"); SetTimerEx("YouPublicNameThree", 8000, 0, "d", playerid); }
Don't forget to add forwards too!