OnPlayerRequestClass (F4) Bug
#1

Hello,
I have a problem with the OnPlayerRequestClass.
Whenever I press F4 I come directly to the skin selection...
I have no idea how I can fix this bug.
Does anyone have this bug or maybe even know how to fix it?

Sincerely,
Zunno
Reply
#2

This is only on your mode or?
Reply
#3

you mean that when you press F4 , you found yourself in skin selection in the same momment?
Reply
#4

Whoa!
I haven't noticed such stuff in my entire SA-MP life.
Is it happening for other players in that particular server only?
Reply
#5

Quote:
Originally Posted by kirollos
Посмотреть сообщение
you mean that when you press F4 , you found yourself in skin selection in the same momment?
yes.

Quote:
Originally Posted by [xB]Lordz
Посмотреть сообщение
Whoa!
I haven't noticed such stuff in my entire SA-MP life.
Is it happening for other players in that particular server only?
yes, this is for all players and i don't know what it is.
Reply
#6

check your script and plz ensure you didnt onplayerkeystate set f4 for force class selection, as many have done this as a shortcut for it
Reply
#7

Check with your key functions in your script.
pawn Код:
public OnPlayerKeyState
//check whether any key is used to send player to skin selection.
Reply
#8

I have uncomment my OnPlayerKeyStateChange, nothing..
i have forgotten to say, that i can't leave the Class Selection when i have press F4...

I don't use ForceClassSelection in my script.
Reply
#9

Your enum put this:

Код:
AntiF4
Under OnPlayerConnect:

Код:
PlayerData[ playerid ][ AntiF4 ] = 0;
Under OnPlayerDeath:

Код:
PlayerData[ playerid ][ AntiF4 ] = 1;
Under OnPlayerRequestClass

Код:
if( PlayerData[ playerid ][ AntiF4 ] == 1 )
{
Kick( playerid );
}
Reply
#10

this is not really what i want. :S
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)