SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 19/08/2012, 08:13 PM   #1
Zunno
Big Clucker
 
Zunno's Avatar
 
Join Date: Dec 2009
Location: Germany
Posts: 51
Reputation: 1
Default OnPlayerRequestClass (F4) Bug

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
__________________
Sorry for my bad english..

German Special Forces Reallife
Zunno is offline   Reply With Quote
Old 20/08/2012, 12:06 AM   #2
[HR]Speedy™
Little Clucker
 
Join Date: Aug 2012
Posts: 6
Reputation: 0
Default Re: OnPlayerRequestClass (F4) Bug

This is only on your mode or?
[HR]Speedy™ is offline   Reply With Quote
Old 20/08/2012, 12:15 AM   #3
Kirollos
Gangsta
 
Kirollos's Avatar
 
Join Date: Jun 2010
Location: Cairo, Egypt
Posts: 590
Reputation: 80
Default Re: OnPlayerRequestClass (F4) Bug

you mean that when you press F4 , you found yourself in skin selection in the same momment?
Kirollos is offline   Reply With Quote
Old 20/08/2012, 03:44 AM   #4
Lordzy
High-roller
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,517
Reputation: 844
Default Re: OnPlayerRequestClass (F4) Bug

Whoa!
I haven't noticed such stuff in my entire SA-MP life.
Is it happening for other players in that particular server only?
Lordzy is offline   Reply With Quote
Old 20/08/2012, 03:51 AM   #5
Zunno
Big Clucker
 
Zunno's Avatar
 
Join Date: Dec 2009
Location: Germany
Posts: 51
Reputation: 1
Default AW: OnPlayerRequestClass (F4) Bug

Quote:
Originally Posted by kirollos View Post
you mean that when you press F4 , you found yourself in skin selection in the same momment?
yes.

Quote:
Originally Posted by [xB]Lordz View Post
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.
__________________
Sorry for my bad english..

German Special Forces Reallife
Zunno is offline   Reply With Quote
Old 20/08/2012, 03:53 AM   #6
trapstar2020
Huge Clucker
 
trapstar2020's Avatar
 
Join Date: Oct 2010
Location: Pawno.exe
Posts: 381
Reputation: 17
Default Re: OnPlayerRequestClass (F4) Bug

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
__________________
PM For help with anything
trapstar2020 is offline   Reply With Quote
Old 20/08/2012, 05:58 AM   #7
Lordzy
High-roller
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,517
Reputation: 844
Default Re: OnPlayerRequestClass (F4) Bug

Check with your key functions in your script.
pawn Code:
public OnPlayerKeyState
//check whether any key is used to send player to skin selection.
Lordzy is offline   Reply With Quote
Old 20/08/2012, 08:50 AM   #8
Zunno
Big Clucker
 
Zunno's Avatar
 
Join Date: Dec 2009
Location: Germany
Posts: 51
Reputation: 1
Default AW: OnPlayerRequestClass (F4) Bug

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.
__________________
Sorry for my bad english..

German Special Forces Reallife
Zunno is offline   Reply With Quote
Old 20/08/2012, 09:22 AM   #9
budelis
Huge Clucker
 
Join Date: Jun 2011
Posts: 453
Reputation: 7
Default Re: OnPlayerRequestClass (F4) Bug

Your enum put this:

Code:
AntiF4
Under OnPlayerConnect:

Code:
PlayerData[ playerid ][ AntiF4 ] = 0;
Under OnPlayerDeath:

Code:
PlayerData[ playerid ][ AntiF4 ] = 1;
Under OnPlayerRequestClass

Code:
if( PlayerData[ playerid ][ AntiF4 ] == 1 )
{
Kick( playerid );
}
budelis is offline   Reply With Quote
Old 20/08/2012, 09:27 AM   #10
Zunno
Big Clucker
 
Zunno's Avatar
 
Join Date: Dec 2009
Location: Germany
Posts: 51
Reputation: 1
Default AW: OnPlayerRequestClass (F4) Bug

this is not really what i want. :S
__________________
Sorry for my bad english..

German Special Forces Reallife
Zunno is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OnPlayerRequestClass -HELP- -BadGirl- Scripting Help 4 26/11/2011 07:06 PM
OnPlayerRequestClass. Shetch Scripting Help 1 08/09/2011 08:04 PM
OnPlayerRequestClass Odyssey Help Archive 8 02/06/2011 11:47 AM
A little bug at OnPlayerRequestClass..... Pawno_Master Help Archive 0 08/05/2010 07:46 AM
OnPlayerRequestClass shoru93 Help Archive 1 05/05/2010 09:43 AM


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.