tjungz212 Posted September 15, 2012 Share Posted September 15, 2012 (edited) - script OnDieG5 -1,{ OnInit: set $killing,1; //PK Mode after last title (1 = On / 0 = Off) setarray .mapaspvp$[0],"guild_vs3"; //Your PvP Maps setarray $titles$[0],"","{Killer}","{Destroyer}","{OMG}","{Professional}","{TDanger of PvP}","{PK}"; setarray .ammount[0],0,5,10,15,20,30,40,50; OnPCKillEvent: getmapxy(@mapa$,@x,@y,0); for(set @c,0; @c < getarraysize([email protected]$); set @c,@c+1) { if(@mapa$ == [email protected]$[@c] && killedrid != getcharid(0)) { set killer,killer+1; for(set @d,0; @d < getarraysize(.ammount); set @d,@d+1) { if(killer == .ammount[@d]) { set title,@d; if(title != getarraysize($titles$)) dispbottom "You unlocked the title: "+$titles$[title]; if(title == getarraysize($titles$) && $killing == 1) dispbottom "You unlocked the last title: "+$titles$[title]+" and now you are in PK mode"; } } } } end; OnPCDieEvent: getmapxy(@mapa$,@x,@y,0); for(set @c,0; @c < getarraysize([email protected]$); set @c,@c+1) if(@mapa$ == [email protected]$[@c]) { if(killer > 0) set killer,killer -1; } end; } - script TitleG5 -1,{ OnPCLoginEvent: atcommand "@fakename "+$titles$[title]+strcharinfo(0); if(title == getarraysize($titles$) && killing == 1) { atcommand "@killable"; atcommand "@killer"; } end; } Edited September 15, 2012 by tjungz212 Quote Link to comment Share on other sites More sharing options...
0 IsabelaFernandez Posted April 18 Share Posted April 18 (edited) On 9/15/2012 at 7:23 AM, tjungz212 said: - script OnDieG5 -1,{ OnInit: set $killing,1; //PK Mode after last title (1 = On / 0 = Off) setarray .mapaspvp$[0],"guild_vs3"; //Your PvP Maps setarray $titles$[0],"","{Killer}","{Destroyer}","{OMG}","{Professional}","{TDanger of PvP}","{PK}"; setarray .ammount[0],0,5,10,15,20,30,40,50; OnPCKillEvent: getmapxy(@mapa$,@x,@y,0); for(set @c,0; @c < getarraysize([email protected]$); set @c,@c+1) { if(@mapa$ == [email protected]$[@c] && killedrid != getcharid(0)) { set killer,killer+1; for(set @d,0; @d < getarraysize(.ammount); set @d,@d+1) { if(killer == .ammount[@d]) { set title,@d; if(title != getarraysize($titles$)) dispbottom "You unlocked the title: "+$titles$[title]; if(title == getarraysize($titles$) && $killing == 1) dispbottom "You unlocked the last title: "+$titles$[title]+" and now you are in PK mode"; } } } } end; OnPCDieEvent: getmapxy(@mapa$,@x,@y,0); for(set @c,0; @c < getarraysize([email protected]$); set @c,@c+1) if(@mapa$ == [email protected]$[@c]) { if(killer > 0) set killer,killer -1; } end; } - script TitleG5 -1,{ OnPCLoginEvent: atcommand "@fakename "+$titles$[title]+strcharinfo(0); if(title == getarraysize($titles$) && killing == 1) { atcommand "@killable"; atcommand "@killer"; } end; } %7BfileStore.core_Attachment%7D/monthly_09_2012/post-458-0-75563600-1347704615_thumb.png not working for me... please help. @Emistry Edited April 18 by IsabelaFernandez Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 15, 2012 Share Posted September 15, 2012 OnInit: set $killing,1; //PK Mode after last title (1 = On / 0 = Off) setarray .mapaspvp$[0],"guild_vs3"; //Your PvP Maps setarray $titles$[0],"","{Killer}","{Destroyer}","{OMG}","{Professional}","{TDanger of PvP}","{PK}"; setarray .ammount[0],0,5,10,15,20,30,40,50; end; <----------------------- Quote Link to comment Share on other sites More sharing options...
tjungz212 Posted September 15, 2012 Author Share Posted September 15, 2012 Thank You Sir Emistry The Big Help how to give color to the title Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 18, 2012 Share Posted September 18, 2012 not possible without any custom source mod... Quote Link to comment Share on other sites More sharing options...
- script OnDieG5 -1,{ OnInit: set $killing,1; //PK Mode after last title (1 = On / 0 = Off) setarray .mapaspvp$[0],"guild_vs3"; //Your PvP Maps setarray $titles$[0],"","{Killer}","{Destroyer}","{OMG}","{Professional}","{TDanger of PvP}","{PK}"; setarray .ammount[0],0,5,10,15,20,30,40,50; OnPCKillEvent: getmapxy(@mapa$,@x,@y,0); for(set @c,0; @c < getarraysize([email protected]$); set @c,@c+1) { if(@mapa$ == [email protected]$[@c] && killedrid != getcharid(0)) { set killer,killer+1; for(set @d,0; @d < getarraysize(.ammount); set @d,@d+1) { if(killer == .ammount[@d]) { set title,@d; if(title != getarraysize($titles$)) dispbottom "You unlocked the title: "+$titles$[title]; if(title == getarraysize($titles$) && $killing == 1) dispbottom "You unlocked the last title: "+$titles$[title]+" and now you are in PK mode"; } } } } end; OnPCDieEvent: getmapxy(@mapa$,@x,@y,0); for(set @c,0; @c < getarraysize([email protected]$); set @c,@c+1) if(@mapa$ == [email protected]$[@c]) { if(killer > 0) set killer,killer -1; } end; } - script TitleG5 -1,{ OnPCLoginEvent: atcommand "@fakename "+$titles$[title]+strcharinfo(0); if(title == getarraysize($titles$) && killing == 1) { atcommand "@killable"; atcommand "@killer"; } end; }
Edited by tjungz212Link to comment
Share on other sites