Two Small Problems
#3

Stupid mistake. Actually i did have GetPlayerName(playerid, Name, sizeof(Name)); but it was below the gametext. Thats why it wasnt working:
Код:
public OnPlayerConnect(playerid)
{
	ClearVars(playerid);
	SyncCheckpoints(playerid);
	ReqClass[playerid] = 0;
  Logged[playerid] = 0;
  PlayerInJob[playerid] = 0;
  InTutorial[playerid] = 0;
	TutorialPage[playerid] = 0;
  new Name[MAX_PLAYER_NAME];
  new WelcSTR[56];
  format(WelcSTR, sizeof(WelcSTR), "~y~Welcome ~n~~w~%s", Name);
  	GameTextForPlayer(playerid,WelcSTR,5000,1);
	new String[128];
	GetPlayerName(playerid, Name, sizeof(Name));
	format(String, sizeof(String), "%s Has Joined The Server!", Name);
  SendClientMessageToAll(0xAAAAAAAA, String);
  return 1;
}
Anyway, have you any idea for the second problem...
Reply


Messages In This Thread
Two Small Problems - by Alec24 - 05.04.2009, 09:59
Re: Two Small Problems - by Torekk - 05.04.2009, 10:14
Re: Two Small Problems - by Alec24 - 05.04.2009, 10:19
Re: Two Small Problems - by LarzI - 05.04.2009, 12:01
Re: Two Small Problems - by Alec24 - 05.04.2009, 14:35
Re: Two Small Problems - by LarzI - 08.04.2009, 00:53
Re: Two Small Problems - by Alec24 - 09.04.2009, 11:42
Re: Two Small Problems - by Nero_3D - 09.04.2009, 12:05
Re: Two Small Problems - by Alec24 - 09.04.2009, 12:30
Re: Two Small Problems - by Nero_3D - 09.04.2009, 13:26

Forum Jump:


Users browsing this thread: 4 Guest(s)