21.04.2018, 17:11
Quote:
No that's the create command. What I mean is when you create the icons.
This one PHP код:
Also to help you more, its when you buffer, load, or create the entrance of the house. |
PHP код:
if(EntranceInfo[entranceid][eLabel])
{
if(EntranceInfo[entranceid][eOwnerID])
{
format(string, sizeof(string), "%s\nOwner: %s\nPress 'Y' to go inside\n Entrance Id %d", EntranceInfo[entranceid][eName], EntranceInfo[entranceid][eOwner], entranceid);
}
else
{
format(string, sizeof(string), "%s\nPress 'Y' to go inside\n Entrance Id %d.", EntranceInfo[entranceid][eName], entranceid);
}
EntranceInfo[entranceid][eText] = CreateDynamic3DTextLabel(string, COLOR_GREY1, EntranceInfo[entranceid][ePosX], EntranceInfo[entranceid][ePosY], (EntranceInfo[entranceid][eIcon] == 19902) ? (EntranceInfo[entranceid][ePosZ] + 0.1) : (EntranceInfo[entranceid][ePosZ]), 10.0, .worldid = EntranceInfo[entranceid][eOutsideVW], .interiorid = EntranceInfo[entranceid][eOutsideInt]);
}
EntranceInfo[entranceid][ePickup] = CreateDynamicPickup(EntranceInfo[entranceid][eIcon], 1, EntranceInfo[entranceid][ePosX], EntranceInfo[entranceid][ePosY], (EntranceInfo[entranceid][eIcon] == 19902) ? (EntranceInfo[entranceid][ePosZ] - 1.0) : (EntranceInfo[entranceid][ePosZ]), .worldid = EntranceInfo[entranceid][eOutsideVW], .interiorid = EntranceInfo[entranceid][eOutsideInt]);