Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 102 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: guid hud
robert119966
General Member
Since: Feb 12, 2012
Posts: 19
Last: Feb 7, 2014
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Thursday, Dec. 27, 2012 04:38 pm
how to change the icon on the player's head, it was a feed for those on the selected guid

pl :
jak zmienic ikone nad glowa gracza zeby byla ona dla osoby na wybranym guidzie

http://speedy.sh/Rw2rg/1128116213.jpg
Share |
twix90
General Member
Since: Jan 16, 2012
Posts: 15
Last: Apr 28, 2013
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Saturday, Dec. 29, 2012 11:24 am
1. Znajdujesz i włączasz główny plik serwera (dm.gsc,tdm.gsc, zom.gsc);

2. Odnajdujesz "dział" SpawnPlayer() (odpowiada co ma się dziać, gdy gracz się spawnuje)

3. Gdzieś na dole dodajesz linijkę:

Code:
if(self GetGuid == twojguid) 
{
  self.statusicon = "zdjecie"; (odpowiada za zdjecie na TAB)
  self.headicon = "zdjecie";  (odpowiada za zdjecie nad glowa)
}


Pamiętaj, aby wcześniej "zaprecachować" swoje zdjęcia:

PrecacheStatusIcon("zdjecie");
PrecacheHeadIcon("zdjecie");

edited on Dec. 29, 2012 04:27 am by twix90
Share |
robert119966
General Member
Since: Feb 12, 2012
Posts: 19
Last: Feb 7, 2014
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Saturday, Dec. 29, 2012 11:29 am
dzieki wielkie
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»