Simple question.
#8

Quote:
Originally Posted by Mo3
Oh god.. you didnt even read my problem, did you?
idk what u want it send the msg every 1 minute or so? well this is what i think you need

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);
}
REMEMBER : untested :] good luck
Reply


Messages In This Thread
Simple question. - by Striker_Moe - 29.12.2009, 13:49
Re: Simple question. - by Tigerbeast11 - 29.12.2009, 13:52
Re: Simple question. - by Striker_Moe - 29.12.2009, 13:52
Re: Simple question. - by Striker_Moe - 29.12.2009, 14:02
Re: Simple question. - by Tigerbeast11 - 29.12.2009, 14:10
Re: Simple question. - by Striker_Moe - 29.12.2009, 14:10
Re: Simple question. - by Joe Staff - 29.12.2009, 14:13
Re: Simple question. - by Micko9 - 24.01.2010, 18:05

Forum Jump:


Users browsing this thread: 6 Guest(s)