• 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


Messages In This Thread
TogglePlayerSpectating on&off will cause client not work after "F4" - by iLuXing - 2024-02-22, 06:52 AM

Forum Jump: