Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. enum aInfo
  2. {
  3. aID, // Индивидуальны ID актера
  4. aSkins, // Модель актера
  5. aName[32], // Имя актера
  6. Float:aCoords[4], // Координаты актера
  7. aVirtualWorld // Виртуальный мир
  8. }
  9. new ActorInfo[MAX_ACTORS][aInfo] =
  10. {
  11. {0, 59, "Майкал", 1781.0059,-1942.2898,13.5663,91.5349, 0}, // ЖДЛС
  12. {1, 59, "Майкал", 1732.6296,-1283.7550,13.5858,52.2424, 0}, // Отель
  13. {2, 59, "Майкал", 1159.9833,-1751.2379,13.5783,179.3929, 0} // АвтоВокзал
  14. };
  15.  
  16.  
  17. for(new ac; ac != sizeof(ActorInfo); ac++)
  18. {
  19. ActorInfo[ac][aID] = CreateActor(ActorInfo[ac][aSkins], ActorInfo[ac][aCoords][0], ActorInfo[ac][aCoords][1], ActorInfo[ac][aCoords][2], ActorInfo[ac][aCoords][3]);
  20. SetActorVirtualWorld(ActorInfo[ac][aID], ActorInfo[ac][aVirtualWorld]);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement