• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] TogglePlayerSpectating on&off will cause client not work after "F4"
#1
Type: Server and Client

Operating System: Windows

Server Version: omp v1.2.0.2670

Plugins Installed: No

YSI Included: No

Output (Logs): <paste a link to hastebin/pastebin with the logs included> (please remove any sensitive information)

I want player back to class select interface when player spwaned. so i make this code.
TogglePlayerSpectating on&off will cause client not work after "F4" or ForceClassSelection.
it will not back to class selection view and cant do anything only when /quit

[Image: 8odMIwFY3ihEmjr.png]

Make a try:
Code:
CMD:test(playerid){
    ForceClassSelection(playerid);
    TogglePlayerSpectating(playerid, true);
    TogglePlayerSpectating(playerid, false);
}
  Reply
#2
https://github.com/openmultiplayer/open.mp/issues/875
  Reply


Forum Jump: