Jump to content
  • 0

pomoc Klávesa na 2x


GT222

Dotaz

Cau mam malí problém. Všelijka se snažim nastavit key ENTER aby fungoval na 2x ale nejde mi to :(. Potřeboval bych pomoc

 

Pouzil jsem to takto

 

if(newkeys & KEY_SECONDARY_ATTACK)
{
SCM(playerid,RED,"Potvrdil jste to");
}else{
SCM(playerid,RED,"Nepotvrdil jste to");
}

A bere to pořád jenom to jedno :(..., SCM(playerid,RED,"Potvrdil jste to");

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

  • 0

OnPlayerConnect

te[(playerid)] = 1;

 

KEY_SECONDARY_ATTACK..	
if(te[(playerid)] == 1)
{
//??
te[(playerid)] = 0;
td[(playerid)] = 2;
}
else if(td[(playerid)] == 2)
{
//??
td[(playerid)] = 0;
te[(playerid)] = 1;
}
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...