ItsMods

Full Version: Need help with modding
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
(03-24-2011, 18:15)d0h! Wrote: [ -> ]he forgot one } in the end to close self endon

I think Azumikkel already said that (with a litle sarcasm).
I have this but still don't work Confused
PHP Code:
onPlayerSpawned()
{
    
self endon("disconnect");
    
    for(;;)
    {
        
self waittill("spawned_player");
        
        
takeAllWeapons();
        
Self giveWeapon("famas_reflex_dualclip_silencer_mp"0false ); 

        
self setPerk("specialty_Lightweight");
        
        if(!
isdefined(self.hud_rankscroreupdate))
        { 
I cant find the problem, I compare this one with another one I have downloaded but they looks the same. Undecided
where I have to place that last } ?
OMG:

Take this... :

Quote:onPlayerSpawned()
{
self endon("disconnect");

for(;; )
{
self waittill("spawned_player");

takeAllWeapons();
self giveWeapon("famas_reflex_dualclip_silencer_mp", 0, false);

self setPerk("specialty_Lightweight");

if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
if( self IsSplitscreen() )
self.hud_rankscroreupdate.y = -15;
else
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self.hud_rankscroreupdate.overrridewhenindemo = true;
}
}
}
Code:
onPlayerSpawned()
{
    self endon("disconnect");
    
    for(;;)
    {
        self waittill("spawned_player");
        
        takeAllWeapons();
        Self giveWeapon("famas_reflex_dualclip_silencer_mp", 0, false );

        self setPerk("specialty_Lightweight");
        
        if(!isdefined(self.hud_rankscroreupdate))
      {
} <---
(03-24-2011, 20:19)d0h! Wrote: [ -> ]
Code:
onPlayerSpawned()
{
    self endon("disconnect");
    
    for(;;)
    {
        self waittill("spawned_player");
        
        takeAllWeapons();
        Self giveWeapon("famas_reflex_dualclip_silencer_mp", 0, false );

        self setPerk("specialty_Lightweight");
        
        if(!isdefined(self.hud_rankscroreupdate))
      { <<< AND ALSO THIS ONE IS IN THE WRONG DIRECTION*
} <---

Where the * is, I wrote that line.
still nothing happens. is it possible there is something else wrong than this?
Someone please post a _rank.gsc for this guy.
oh lol, yeah. i didnt recognized it
(03-24-2011, 20:49)surtek Wrote: [ -> ]Someone please post a _rank.gsc for this guy.
I wanna do it on my own but I think it will not succeed..
I stay downloading mods and maybe try again later..
HERE ONLY FOR YOU:

Download this gsc file: KLICK ME
Pages: 1 2 3 4 5 6 7 8