Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » old tokenclass
Re: old tokenclass [message #456840 is a reply to message #456811] Tue, 04 October 2011 23:35 Go to previous messageGo to previous message
robbyke is currently offline  robbyke
Messages: 348
Registered: September 2010
Location: Belgium
Karma:
Recruit
im running 4.0 im trying to convert my mod to 4.0 but lots of functions are different or dissappeared

ive been trying to convert the old command class but ive noticed that the new vector class doesnt has a function to determine its bgin. now im not dumb (i hope) and begin = 0. so i just use 0 but on the internet i found that if my vector is empty ill get an exeption bcause vector[0] is invalid

this is what ive become after converting

Chatcommandclass.h
Toggle Spoiler

Chatcommandclass.cpp
Toggle Spoiler


ive just copied those out of the old ssgm and edited them


Owner of kambot TT server

kambot.freeforums.org

[Updated on: Wed, 05 October 2011 01:40]

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
Previous Topic: JFW Script list?
Next Topic: Find_My_Vehicle
Goto Forum:
  


Current Time: Wed Jan 15 03:58:29 MST 2025

Total time taken to generate the page: 0.01704 seconds