Quote:
Originally posted by Deadly_Killer
Can someone make this not so laggy. It works but is laggy very laggy
|
NPC Code:
if (playertouchsme) {
toweapons Beta Player
}
if (weaponfired) {
say2
#bIf you want to use this
#bmp3/midi player you must put the
#bsong in your midi folder and
#bsay play the songname.
#bex: play ff7 - battle music.mp3.
#bIt does not have to be a mp3 it
#bcould be a midi as well.You
#bmust put .mp3 for .mid.
}
if (strequals(#c,play)) {
setplayerprop#c,What do you want to play Midi or MP3?;
}
if (strequals(#c,MP3)||strequals(#c,Midi)) {
setplayerprop#c,What #c do you want to play?;
}
if (playerchats&&!strequals(#c,What MP3 do you want to play?)&&!strequals(#c,What Midi do you want to play?)) {
play #c;
}