Jump to content

Intrebare


Recommended Posts

Salut!

Am  facut un sistem de dm,dar am o problema...

Cum as putea sa blochez comenzile intr-un dm?

CMD:teamdm (playerid, params[])
{
 
     

 
    SetPlayerHealth(playerid,100);
    SetPlayerArmour(playerid,100);
    SetPlayerVirtualWorld(playerid, 0);
    SetPlayerColor(playerid, red);
    GameTextForPlayer(playerid, "~w~JOINED ~r~FIGHT~w~TEAM", 5000, 3);
    TDMred[playerid]=1;
    SetPlayerPos(playerid,283.0704,1828.5237,17.6481);

    GivePlayerWeapon(playerid,24,99999);
    GivePlayerWeapon(playerid,25,99999);
    GivePlayerWeapon(playerid,34,99999);
    return 1;
}
//Am facut si spawn-urile,dar e lung codul,nu-l mai pun

 

Vreau ca atunci cand un player este in dm si foloseste de exemplu o comada sa ii trimita un mesaj "Esti in DM,foloseste /leave pentru a pleca!"/

 

 
 
 
Link to comment
Share on other sites

  • WopsS locked this topic
Guest
This topic is now closed to further replies.
×
×
  • 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.