24.01.2010, 18:05
Quote:
Originally Posted by Mo3
Oh god.. you didnt even read my problem, did you?
|
pawn Код:
forward GreetingsBot(playerid);
SetTimer(GreetingsBot, 60000, true); // 60 000 = 1 minute , 1 = 1 milisecond e.t.c. 1000 = 1 second...
public GreetingsBot(playerid)
{
new PlrName[MAX_PLAYER_NAME];
new format_string[255]; // 255 = LNENGHT 255 is max
GetPlayerName(playerid, PlrName, sizeof(PlrName));
format(format_string,sizeof(format_string),"Jeffry : Hey There %s !", PlrName);
SendClientMessageToAll(0xAA000AA, PlrName);
}