If user press key X...
#1

How can do this?

public OnPressKey(playerid,key)
{
if(key = F11)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DAN CE1);
}elseif(key = Left Shift OR key = Q)
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DAN CE2);
Others acionts = NULL
}
return 1;
}

Sorry for my english
Reply


Messages In This Thread
If user press key X... - by carlos- - 10.06.2009, 17:40
Re: If user press key X... - by Correlli - 10.06.2009, 17:41
Re: If user press key X... - by Annihalation - 21.07.2009, 23:11
Re: If user press key X... - by James_Alex - 21.07.2009, 23:16
Re: If user press key X... - by Annihalation - 21.07.2009, 23:18
Re: If user press key X... - by James_Alex - 21.07.2009, 23:27

Forum Jump:


Users browsing this thread: 1 Guest(s)