I can`t save player name to enum
#1

Please help me to looking for wrong
ENUM:
Код:
enum rInfo
{
	bool:IsCreated,
	Owner[MAX_PLAYER_NAME],
	RoomID,
	World,
	Name[22],
	Weapon1,
	Weapon2,
	Map

}
CODE
Код:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
RoomInfo[i][Owner]=pName;
And then I want to show for player.But owner is blank:
Код:
new pDialog[2100],format1[40];
format(format1, sizeof(format1), "[ID%d]\t%s\t%s\n",RoomInfo[i][RoomID],RoomInfo[i][Name],RoomInfo[i][Owner]);
strcat(pDialog, format1, sizeof(format1));
Reply


Messages In This Thread
I can`t save player name to enum - by 3417512908 - 14.07.2018, 14:29
Re: I can`t save player name to enum - by Mike861 - 14.07.2018, 14:45
Re: I can`t save player name to enum - by NaS - 14.07.2018, 14:47
Re: I can`t save player name to enum - by Akeem - 14.07.2018, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)