View Single Post
  #8  
Old 12-01-2009, 08:23 PM
Samposse Samposse is offline
Chopa Shopa !
Samposse's Avatar
Join Date: Nov 2008
Location: Norway
Posts: 87
Samposse is an unknown quantity at this point
Send a message via AIM to Samposse Send a message via MSN to Samposse
ok i made one now but the Problem is that when i press a the button it playes but it dosnt stop playing :S , like i play 1 note 1 time and it plays that note until i play an other note ...

here's the script

PHP Code:
//Im not using GS2 here!

//#CLIENTSIDE

function onWeaponFired() {
if (!
flute){
setani idle,;
disabledefmovement();
disableweapons();
disableselectweapons();
disablepause();
disablemap();
set flute;
}}

if (
keypressed&&keydown(6)){
if (
flute){
enabledefmovement();
enableweapons();
enableselectweapons();
enablepause();
setani idle,;
unset 
flute;
}}

if (
keydown2(keycode(z),false)) {
if (
flute){
setani("delitto_flute-play1""");
}}

if (
keydown2(keycode(x),false)) {
if (
flute){
setani("delitto_flute-play2""");
}}

if (
keydown2(keycode(c),false)) {
if (
flute){
setani delitto_flute-play3,;
}}

if (
keydown2(keycode(j),false)) {
if (
flute){
setani delitto_flute-play4,;
}}

if (
keydown2(keycode(v),false)) {
if (
flute){
setani delitto_flute-play5,;
}}

if (
keydown2(keycode(b),false)) {
if (
flute){
setani delitto_flute-play6,;
}} 
all works but i wont it to only play an note in like 1 second
__________________
Delitto :3

A
SERVER
UNDER
CONSTRUCTION !

feel free to ask me about delitto
Reply With Quote