26 errors
#1

Hi all..
I made a hotkey of /enter command by pressing F KEY_SECONDARY_ATTACK
my problem is that i want to make exactly for exit "F" but after i compile and enter my server the enter F works but F exit doesn't respond
There are both under public OnPlayerKeyStateChange
please help


Код:
// Enter "F"	
	
	if(newkeys & KEY_SECONDARY_ATTACK)
	{
             Bla bla bla
[/CODE]

Код:
// Exit "F"	
	
	if(newkeys & KEY_SECONDARY_ATTACK)
	{
             Bla bla bla
[/CODE]
Reply
#2

Quote:

if(IsPlayerInAnyVehicle(playerid))
{
Bla Bla lol
}

Try to Use this On Exit under "if(newkeys & KEY_SECONDARY_ATTACK)"
Reply
#3

that's cause of you didn't put one
PHP код:

Reply
#4

if you have 26 errors,you forgot a bracket.
Reply
#5

I put wrong title sorry...
my problem is using /exit and /enter for same hotkey KEY_SECONDARY_ATTACK
/enter works but /exit doesn't
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)