Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » START_TIMER Parameters
Re: START_TIMER Parameters [message #434668 is a reply to message #434657] Thu, 12 August 2010 15:07 Go to previous messageGo to previous message
T0tNl
Messages: 63
Registered: July 2007
Karma:
Recruit
reborn wrote on Thu, 12 August 2010 15:29

You forgot the script registrant.

Like this?>::

scriptregistrant<MySwapCharScript> MySwapCharScript_Registrant("MySwapCharScript","");


Also do I add this in gmmain.cpp or MySwapCharScript.cpp(for my case).I don't know as I've never done this before.
I also get an error during build if I put it in either/or gmmain or the other .cpp::
1>------ Build started: Project: SSGM, Configuration: Debug Win32 ------
1>Compiling...
1>MySwapCharScript.cpp
1>.\MySwapCharScript.cpp(20) : error C2143: syntax error : missing ';' before '<'
1>.\MySwapCharScript.cpp(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://c:\Westwood\RenegadeFDS\Server\New Folder\tmp\scripts\debug\BuildLog.htm"
1>SSGM - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

[Updated on: Thu, 12 August 2010 15:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: build error
Next Topic: Update_PT_Data
Goto Forum:
  


Current Time: Wed Dec 18 03:19:52 MST 2024

Total time taken to generate the page: 0.00841 seconds