Code: Select all
script 30 (void) clientside
{
int counter=0;
int posy=-3.0;
while(posy<=0.05)
{
SetFont("NEDML");
HudMessagebold(s:"A"; HUDMSG_FADEINOUT, 0, CR_UNTRANSLATED, 0.5, posy,0.1,0, 0.3);
posy+=0.01;
delay(1);
}
SetFont("NEDML");
HudMessagebold(s:"A"; HUDMSG_PLAIN , 800, counter, 0.5, posy,0,0, 0);
Music_Played=3;
setmusic("NEDM",0,0);
delay(35);
spawnspot("FlareDisco",87,132,0);
ACS_Suspend(34,0);
acs_execute(31,0);Cat 1 script
acs_Execute(32,0);Cat 2 script
acs_execute(33,0);Light disco
while(true)
{
if(GetPlayerInput(ConsolePlayerNumber(),INPUT_BUTTONS)==13)//Consoleplayernumber() -> your tid right? and 13 is crouch + jump + fire, I may change it to only altfire
{
if(nedm_desactive==true)
{
print(s:"nedm actived");
nedm_desactive=false;
SetFont("NEDML");
HudMessagebold(s:"A"; HUDMSG_PLAIN , 800, counter, 0.5, posy,0,0, 0);
delay(50);
}
else
{
print(s:"nedm desactived");
nedm_desactive=true;//Cat script´ll only show the cat if false
HudMessagebold(s:""; HUDMSG_PLAIN , 800, counter, 0.5, posy,1,1, 1);
delay(50);
}
}
delay(1);
}
}
If player crouch + jump + fire it should be 13 (it works offline) it´s like a selector if you want to see the cats on screen or not.
So, did I did some mistake ? :s
(This script show a image, then you can select to see or not see doing that commands, and it should only affect the players who called it)