• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Call A Different file
#1
How would i call upon this file i have attached.(it just contains a .gsc, it wouldnt let me just upload the .gsc)

self thread maps\mp\gametypes\_menu::init();?

Would I put it under OnPlayerSpawned()? or connect? or init?(in _rank)


.zip   _menu.zip (Size: 5.89 KB / Downloads: 7)
[Image: ScHmIdTy56789.png]
  Reply
#2
(01-30-2012, 03:16)ScHmIdTy56789 Wrote: How would i call upon this file i have attached.(it just contains a .gsc, it wouldnt let me just upload the .gsc)

self thread maps\mp\gametypes\_menu::init();?

Would I put it under OnPlayerSpawned()? or connect? or init?(in _rank)

Since the script is checking for PlayerConnect and PlayerSpawned itself I would put it on init.
[Image: azuw.jpg]
  Reply
#3
This depends on what the function does, You just call it whenever you need it. In this case I would load it on Init() because the file is using its own OnPlayerSpawned/Connected functions.
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Call of Duty loser calls in SWAT team hoax on kid who beat him RaZ 3 3,793 04-24-2014, 19:31
Last Post: Casper
  [News] Call of Duty: Ghosts Pozzuh 59 38,669 11-05-2013, 16:05
Last Post: RaZ
  Call of Duty MW3 Help tugay12 4 5,074 08-21-2013, 00:31
Last Post: hillbilly
  A question about the Call of Duty Black Ops king_dom 1 3,395 07-08-2013, 05:26
Last Post: DidUknowiPwn
  [News] Call Of Duty: Ghosts - New Engine Video Tomsen1410 7 5,100 06-10-2013, 20:24
Last Post: Pozzuh
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 17,429 06-09-2013, 16:01
Last Post: dylankrajewski
  Call of Duty 4 Modern Warfare topic? Erik The Born 1 3,281 06-07-2013, 17:41
Last Post: Pozzuh
  [News] Call of Duty: Online Stream DidUknowiPwn 10 7,319 05-26-2013, 11:54
Last Post: Yamato
  [Release] Modern Warfare 3 Fast File Sounds master131 5 17,328 05-21-2013, 16:46
Last Post: ZURA.
  [Release] Export models from Call Of Duty : Black Ops JariZ 26 32,382 05-16-2013, 17:20
Last Post: mosayebg

Forum Jump:


Users browsing this thread: 1 Guest(s)