TogglePlayerSpectating bug with OnPlayerRequestClass
#1

When I enable
pawn Код:
TogglePlayerSpectating(playerid, 1);
OnPlayerDeath it directs to OnPlayerRequestClass with the little menu at the bottom giving the option to select a skin etc
but when I remove the
pawn Код:
TogglePlayerSpectating(playerid, 1);
the bug goes away it works fine.... How would I make it so this dosn't appear ?
Reply
#2

Can you show us your OnPlayerRequestClass callback?
Reply
#3

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
Can you show us your OnPlayerRequestClass callback?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)