View Single Post
  #25  
Old 02-03-2004, 01:34 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
Thank you all of you for your help.

Here is the complete and working script for those who want it.

Thanks especially to ramirez.

NPC Code:

if (created){
setshape 1,48,48;
}
if (actionplayerwins){
with (getplayer(#a)){
setcharprop #c,#a;
hide;
setlevel2 bushrace2.nw,33.5,30.5;
setcharprop #c, Complete!;
}
}

if (playerchats && strequals(#c,/reset)){
if (strequals(#g,Events Admin) || strequals(#g,Events Team)){
show;
}
}
//#CLIENTSIDE

if (playertouchsme){
if (carriesbush){
triggeraction x+.5,y+.5,playerwins,;
}
}

if (created){
showcharacter;
setshape 1,48,48;
setcharprop #3,head7.png;
setcharprop #C0,orange;
setcharprop #C1,darkblue;
setcharprop #C2,brown;
setcharprop #C3,black;
setcharprop #C4,brown;
setcharprop #2,no-shield.gif;
shieldpower = 1;
dir = 2;
setcharprop #c, Touch me to win!;
}

Reply With Quote