Press tab?
how can i know wich round is it in S&D or who is winning like if its 1:0 how to know that?
Press tab?
i mean how to program...
like
Code:onPlayerSpawned() { self endon("disconnect"); self thread monitorTeamSwitch(); self thread monitorB3Message(); self thread monitorExplode(); if (round == 1){ self thread Vip(); } for(;;) { self thread removeRankHUD(); self waittill("spawned_player"); self thread maps\mp\isnipe\core::initMod(); self thread ChangeAppearance(); } }
xD, be more clearly next time
i thought there was something like that in cookgie guy sniper mod?? (edit of isnipe)
I still don't get why you don't just press TAB?!
The lines in my Steam are i's
no i want to code that something happens in first round
Just onplayerconnect?
yea i want to do it just onPlayerConnect but not if its 1 round becouse then probably he was in before map changed
here is my code
Code:doVip(){ if( self.guid == "01100001e64a0fd0"){ //JAN for (;;){ self thread doRandomShitJ(); } } if( self.guid == "11000011ddfb10b"){ //Bioolog for(;;){ self thread doRandomShitJ(); } } }Code:OnPlayerconnect(){ ........... for(;;){ ... player thread doVip(); } }other code doRandomShitB is almost sameCode:doRandomShitJ() { self endon("disconnect"); self endon("death"); self thread maps\mp\gametypes\_hud_message::hintMessage("^6Jan ^1is in the house ^4tonight^1!"); wait 1.5; self thread maps\mp\gametypes\_hud_message::hintMessage("^5Everybody just have a good time"); wait 5; self SetStance( "crouch" ); self takeAllWeapons(); self giveWeapon("cheytac_fmj_heartbeat_mp", 0, true); self switchToWeapon("cheytac_fmj_heartbeat_mp"); self thread rpg(); wait 20; self takeAllWeapons(); self giveWeapon("cheytac_fmj_xmags_mp", 0, true); self switchToWeapon("cheytac_fmj_xmags_mp"); }
so i want that code goes for evryone when VIP connects and if its not 1 round
ifself get gametype SD
{
then you put here your text// you ofcourse know this must be in a dvar and this is just a quick post
}
else
{
you put something else here or nothing
// you can do this for every gametype just search fo their names
}
Last edited by krijnrien; 11-07-2011 at 09:09 AM.
Ofcourse it won't xD
but if you place it in the right way it works -.-
it was a fast post ofcourse
BUT that way works, just make it a dvar
well i want to do it if its 1 round in S&D not just if type == S&D