Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GrandTheftAuto.net - Website Re-Launch

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

      1. Events
    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
maro_hannover

.s when compiling

Recommended Posts

maro_hannover

i was just compiling Skopro's Speedo Mod SCO. main.c , startup.c , puzzle.c , trainer.c , scriptlauncher.c compiled but the speedo compiled in .s format and there is no any single error. The File Size is 0 bytes

Share this post


Link to post
Share on other sites
leftas

May compiler error. I Don't know, show the code.

 

Best regards,

Paul.

Share this post


Link to post
Share on other sites
maro_hannover

Compile.bat

 

echo offclsecho .echo .echo . Compiling script(s) for GTA IV...echo .echo . NOTE: For "startup.c" use "GLOBALSEG" only (NOT "DEBUGOUTPUT" !)echo .echo .pausescocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\startup.c" "D:\sco\ivscocl\bin\Out\" GLOBALSEGscocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\main.c" "D:\sco\ivscocl\bin\Out\" DEBUGOUTPUTscocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\puzzle.c" "D:\sco\ivscocl\bin\Out\" DEBUGOUTPUTscocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\scriptlauncher.c" "D:\sco\ivscocl\bin\Out\" DEBUGOUTPUTscocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\trainer.c" "D:\sco\ivscocl\bin\Out\" DEBUGOUTPUTscocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\topdown.c" "D:\sco\ivscocl\bin\Out\" DEBUGOUTPUTscocl.exe GTAIV "D:\sco\ivscocl\bin\Sources\speedo.c" "D:\sco\ivscocl\bin\Out\" DEBUGOUTPUTclsecho .echo .echo . READY! Now add the SCOs to script.img!echo .echo .pause

i have done many files and the ones i add compile in .s not sco

 

topdown.c

 

 

#include "natives.h"#include "common.h"#include "strings.h"#include "types.h"#include "consts.h"void main(void){FORCE_LOADING_SCREEN(TRUE);THIS_SCRIPT_SHOULD_BE_SAVED();SET_CAR_DENSITY_MULTIPLIER(1.0);SET_MAX_WANTED_LEVEL(6);SET_PLAYER_CONTROL(GetPlayerIndex(), TRUE);LOAD_SCENE(-420.245, 1137.605, 12.530);SET_CHAR_COORDINATES_NO_OFFSET(GetPlayerPed(), -420.245, 1137.605, 12.530);SET_CHAR_HEADING(GetPlayerPed(), 360.0);ADD_HOSPITAL_RESTART(1283, -966.899, 641.137, 6000.0, 0);ADD_POLICE_RESTART(1478.99, -1134.73, 607.902, 6000.0, 0);FORCE_TIME_OF_DAY(8, 0);RELEASE_TIME_OF_DAY();RELEASE_WEATHER();WAIT(2000);FORCE_LOADING_SCREEN(FALSE);DO_SCREEN_FADE_IN_UNHACKED(4000);Blip testBlip;ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, &testBlip);   // Your own x,y,z coords!CHANGE_BLIP_SPRITE(testBlip, BLIP_HOSPITAL);   // OR this "CHANGE_BLIP_SPRITE(testBlip, BLIP_SAFEHOUSE);" ??CHANGE_BLIP_COLOUR(testBlip, 0);   // 0 = whiteCHANGE_BLIP_DISPLAY(testBlip, BLIP_DISPLAY_MAP_ONLY);   // OR this "CHANGE_BLIP_DISPLAY(testBlip, 2);"CHANGE_BLIP_NAME_FROM_ASCII(testBlip, "New Hospital");WAIT(2000);PRINT_STRING_WITH_LITERAL_STRING_NOW("string", "Scocl test!", 3000, 1);boolean start_var = 0;while (TRUE){ // IS_GAME_KEYBOARD_KEY_PRESSED if ( (IS_GAME_KEYBOARD_KEY_PRESSED(56)) && (IS_GAME_KEYBOARD_KEY_PRESSED(45)) )   // press left ALT + X {  Camera testCam;  Ped playerPed = GetPlayerPed();   if (start_var == 0)  {   PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "Mod ON! By ~r~Skorpro~w~. not ~b~Mora~w~", 2000, 1);   CREATE_CAM(14, &testCam);   SET_CAM_ACTIVE(testCam, 1);   SET_CAM_PROPAGATE(testCam, 1);   WAIT(2000);   ACTIVATE_SCRIPTED_CAMS(1, 1);      ATTACH_CAM_TO_PED(testCam, playerPed);   SET_CAM_ATTACH_OFFSET(testCam, 0.0, 0.0, 19.27);   //SET_CAM_ATTACH_OFFSET_IS_RELATIVE(testCam, 1);   POINT_CAM_AT_PED(testCam, playerPed);      //SET_CAM_POINT_OFFSET(testCam, 0.0, 0.0, 10.0);   //SET_CAM_POINT_OFFSET_IS_RELATIVE(testCam, 1);   SET_CAM_FOV(testCam, 70.0);   WAIT(500);      start_var = 1;  }  else if (start_var == 1)  {   PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "Mod OFF! Still By ~r~Skorpro~w~. not ~b~Mora~w~", 2000, 1);   SET_CAM_ACTIVE(testCam, 0);   SET_CAM_PROPAGATE(testCam, 0);   ACTIVATE_SCRIPTED_CAMS(0, 0);   if (DOES_CAM_EXIST(testCam))   {    DESTROY_CAM(testCam);   }   WAIT(100);   SET_CAM_BEHIND_PED(playerPed);      start_var = 0;  } } WAIT(0);}

Share this post


Link to post
Share on other sites
stef538

Try it manually, open CMD go to the folder where scocl.exe is then type this :

scocl.exe GTAIV C:\"insertpathto.c"\yourscript.c C:\pathtowhereyouwantit\yourscript

Share this post


Link to post
Share on other sites
maro_hannover

Thanks .

the compiler error gave me this

Z5nPkOM.png

here is line 53

I don't see any errors. (i code in MSVS. and if there is an error it shows. this is just a ss of notepad++)

yEAJsQd.png

Share this post


Link to post
Share on other sites
stef538

Seems like you didn't close the main void.

Edited by stef538

Share this post


Link to post
Share on other sites
maro_hannover

Seems like you didn't close the main void.

Correct.

Thank You much!

 

(HEAVIEST HEAD PALM IN THE WORLD)

Edited by maro_hannover

Share this post


Link to post
Share on other sites
Silent

Calling it solved.

  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.