NPC welcomes new players?
#10

Код:
new str[128];
		GetPlayerName(playerid,pname, MAX_PLAYER_NAME);
		new RandR = random (8);
		if(RandR == 1)
		{
			format(str, 128, "Hello, %s!", pname);
			SendPlayerMessageToAll(0, str);
		}
		else if(RandR == 2)
		{
		    format(str, 128, "%s, what's up?", pname);
			SendPlayerMessageToAll(0, str);
		}
...
this should work
Reply


Messages In This Thread
NPC welcomes new players? - by xZacharias - 16.08.2010, 13:48
Re: NPC welcomes new players? - by [FA]StUnT4LiFeZ - 16.08.2010, 13:57
Re: NPC welcomes new players? - by Jeffry - 16.08.2010, 14:00
Re: NPC welcomes new players? - by xZacharias - 16.08.2010, 14:13
Re: NPC welcomes new players? - by Kaye - 16.08.2010, 14:18
Re: NPC welcomes new players? - by Jeffry - 16.08.2010, 14:38
Re: NPC welcomes new players? - by xZacharias - 16.08.2010, 16:23
Re: NPC welcomes new players? - by Jeffry - 16.08.2010, 16:23
Re: NPC welcomes new players? - by Kaye - 16.08.2010, 16:38
Re: NPC welcomes new players? - by xZacharias - 16.08.2010, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)