로딩중...
좋아요 0
댓글 2
동영상 0
업로드 0
팔로워 0
  • Franklin

    Good night developers. I would like to contribute in some way to the ENT. Follow the link to a script I made for GTA 4. If you are interested, you can use it. If there is no interest, then forgive me.

    https://mega.nz/file/wf5BCRqb#l-QQRe3dvUTs4M3_yOU7UF6FtiBzY0TOtPUIOl0Znk8

    2020년 04월 05일 (일)
  • Franklin

    Hello author. Excellent mod! I liked very much. I would like to suggest some improvements. At the time when GTA 4 was released, I made a mod (https://gtaforums.com/topic/467362-rel-alice-gta-iv-powerful-mode-mod) that gave Niko special powers. One of those powers was to spawn peds as a bodyguard like your trainer. These bodyguards, spawned with random weapons. I would like an option in your mod, for bodyguards to spawn with random weapons.

    In my mod I used the following code: (Dephi/pascal)
    ...
    MaleWeapons : array [0..10] of Cardinal = (7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18);
    FemaleWeapons : array [0..5] of Cardinal = (4, 5, 7, 9, 12, 13);
    ...
    SpawnChar : array [0..6] of Ped;
    SpawnCharIndex : Shortint = -1;
    SpawnCharBlip : array [0..6] of Blip;
    SpawnCharBlipIndex : Shortint = -1;
    X, Y, Z, RandomX, RandomY, RandomZ : Single;
    ...
    CreateRandomMaleChar(X, Y, Z, @SpawnChar[SpawnCharIndex]);
    GenerateRandomIntInRange(0, 11, @RandomWeapon);
    GiveWeaponToChar(SpawnChar[SpawnCharIndex], MaleWeapons[RandomWeapon], 1000000, True);
    ...

    2020년 03월 31일 (화)