
01-20-2002, 01:56 PM
|
|
Banned
|
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
|
|
Re: ignorant NPC
Quote:
Originally posted by nyghtGT
here it is can someone help me:
NPC Code:
NPC Code:
// NPC made by NyghtGT (Admin)
// SP Agent's Toy's (Super-Saiyin)
if (created) {
hide;
}
if (playerenters) {
toweapons Super-Saiyin;
}
if (weaponfired) {
say2
Super Saiying Thingy#b
'super on' - turns super on#b
'super off' - turns super off;
}
if (playerchats) {
if (strequals(#c,super on)) {
setplayerprop #c,;
showimg 103,d-saiyin.gif,playerx,playery;
timeout=0.05;
}
if (strequals(#c,super off)) {
setplayerprop #c,;
hideimg 103;
timeout=0;
}
}
if (timeout) {
updatesaiyin();
timeout=0.05;
}
// Functions
function updatesaiyin() {
showimg 103,d-saiyin.gif,playerx,playery;
}
sorry for asking for quite a bit of help lately, just trying to take care of buisness...
|
changeimgvis 103,1 might help |
Last edited by Python523; 01-20-2002 at 02:26 PM..
|
|
|