14.07.2018, 14:29
Please help me to looking for wrong
ENUM:
CODE
And then I want to show for player.But owner is blank:
ENUM:
Код:
enum rInfo { bool:IsCreated, Owner[MAX_PLAYER_NAME], RoomID, World, Name[22], Weapon1, Weapon2, Map }
Код:
new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, MAX_PLAYER_NAME); RoomInfo[i][Owner]=pName;
Код:
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));