Jump to content
  • 0

exitdm2


vampir_MD

Question

Miam pus pe server comandu exitdm

si cind intu in dm si es din dm vreu sa  dau teleport ex:/sf  /ls imi scrie ca sa du iara /exitdm

new DMZone[MAX_PLAYERS];
public OnPlayerDisconnect(playerid, reason)
 DMZone[playerid] = 0;
public OnPlayerSpawn(playerid)
DMZone[playerid] = 0;
public OnPlayerCommandText(playerid, cmdtext[])
lam pus inainte la un command
if(DMZone[playerid]&& strcmp(cmdtext, "/exitdm", true) && strcmp(cmdtext, "/exitdm", true) != 0) return SendClientMessage(playerid,COLOR_WHITE,"You can't exit this DM!Use {FF0000}/exitdm");

Ma ajuta si pe mine cineva?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.