plz help me
#1

were do i put these and my script from scratch

Код:
	PlayerInfo[playerid][pCash] = dollah;
  	PlayerInfo[playerid][pLevel] = 0;
	PlayerInfo[playerid][pAdmin] = 0;
i know under player coenncet but were here is the full onplayerconncet
Код:
public OnPlayerConnect(playerid)
{
  new playrname[MAX_PLAYER_NAME];
  	new connect[128];
  GetPlayerName(playerid, playrname, sizeof(playrname));
	format(connect, sizeof(connect), "%s.cer", playrname);
	if(fexist(connect))
	{
		gPlayerAccount[playerid] = 1;
		SendClientMessage(playerid, COLOR_YELLOW, "You are registered, please login with /login password");
		return 1;
	}
	else
	{
		gPlayerAccount[playerid] = 0;
		SendClientMessage(playerid, COLOR_YELLOW, "You are new here or not registered, please register with /register password");
	}
	return 1;
}
can someone add it were it should be and repost it plz thabjs and advanced
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)