This the part of the new Trophy Sys for G2k2 and for Doomsday
maybe not for g2k2 but for doomsday , h3h3
Why it dont works ? All works without the dropping of the npc -_-"
There is no image or the npc is not dropped -_-"
Plz help me :
if (strequals(#t(this.test),1) && keydown2(keycode(w),true)){
setani lay,;
setstring server.pos,#v(this.select);
setstring server.name,#s(client.trophies1);
setstring server.rank,#s(client.rank);
putnpc2 playerx+0.5+vecx(playerdir)*2,playery-0.1+vecy(playerdir)*2,{
if (created || playerenters){
setstring this.pos,#s(server.pos);
setstring this.name,#s(server.name);
setstring this.rank,#s(server.rank);
setimg #s(this.rank)#s(this.name)trophy.png;
}
if (playertouchsme){
tokenize #s(client.trophie);
setstring client.trophie;
for (this.i=0;this.i
if (this.i=strtofloat(#s(this.pos))){
setstring client.trophie,#s(client.trophie) 1;
}
else {
setstring client.trophie,#s(client.trophie) #t(this.i);
}
}
destroy;
};
setstring client.trophie,;
for (this.i=0;this.i<60;this.i++){
if (this.i=this.test){
setstring client.trophie,#s(client.trophie) 0;
}
else{
setstring client.trophie,#s(client.trophie) #t(this.i);
}
}
}