03-24-2011, 18:27
(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).
(03-24-2011, 18:15)d0h! Wrote: [ -> ]he forgot one } in the end to close self endon
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))
{
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;
}
}
}
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*
} <---
(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..