Thread Rating:
  • 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: 10)
[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 4,087 04-24-2014, 19:31
Last Post: Casper
  [News] Call of Duty: Ghosts Pozzuh 59 41,944 11-05-2013, 16:05
Last Post: RaZ
  Call of Duty MW3 Help tugay12 4 5,646 08-21-2013, 00:31
Last Post: hillbilly
  A question about the Call of Duty Black Ops king_dom 1 3,717 07-08-2013, 05:26
Last Post: DidUknowiPwn
  [News] Call Of Duty: Ghosts - New Engine Video Tomsen1410 7 5,840 06-10-2013, 20:24
Last Post: Pozzuh
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 19,837 06-09-2013, 16:01
Last Post: dylankrajewski
  Call of Duty 4 Modern Warfare topic? Erik The Born 1 3,558 06-07-2013, 17:41
Last Post: Pozzuh
  [News] Call of Duty: Online Stream DidUknowiPwn 10 7,979 05-26-2013, 11:54
Last Post: Yamato
  [Release] Modern Warfare 3 Fast File Sounds master131 5 18,325 05-21-2013, 16:46
Last Post: ZURA.
  [Release] Export models from Call Of Duty : Black Ops JariZ 26 34,132 05-16-2013, 17:20
Last Post: mosayebg

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.