Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum aInfo
- {
- aID, // Индивидуальны ID актера
- aSkins, // Модель актера
- aName[32], // Имя актера
- Float:aCoords[4], // Координаты актера
- aVirtualWorld // Виртуальный мир
- }
- new ActorInfo[MAX_ACTORS][aInfo] =
- {
- {0, 59, "Майкал", 1781.0059,-1942.2898,13.5663,91.5349, 0}, // ЖДЛС
- {1, 59, "Майкал", 1732.6296,-1283.7550,13.5858,52.2424, 0}, // Отель
- {2, 59, "Майкал", 1159.9833,-1751.2379,13.5783,179.3929, 0} // АвтоВокзал
- };
- for(new ac; ac != sizeof(ActorInfo); ac++)
- {
- ActorInfo[ac][aID] = CreateActor(ActorInfo[ac][aSkins], ActorInfo[ac][aCoords][0], ActorInfo[ac][aCoords][1], ActorInfo[ac][aCoords][2], ActorInfo[ac][aCoords][3]);
- SetActorVirtualWorld(ActorInfo[ac][aID], ActorInfo[ac][aVirtualWorld]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement