Jump to content
  • 0

Cum fac ?


GiGiMuScHi

Question

Salutare un sistem de anti-tuning si care isi tuneaza masina ci s0beitul ii da ban.iar eu vreau sa stiu cum fac sa nu mia dee bansa dee warn.

new str[256];

public OnVehicleMod(playerid,vehicleid,componentid)

{

    if(GetPlayerInterior(playerid) == 0)

    {

        SendClientMessage(playerid, 0x33AA33AA, "I luat ban pentru ca tiai tunat masina cu hack !");

        format(str,sizeof(str),"%s a luat ban de la server. Motiv: Ca sea tunat masina cu hack!",GetName(playerid));

        SendClientMessageToAll(0x33AA33AA,str);

        BanEx(playerid, "Masina tunata cu hack");

    }

    return 1;

}

//--------------------***********-------------------------------

//--------------------Stock--------------------------------

stock GetName(playerid)

{

    new name[MAX_PLAYER_NAME];

    if(IsPlayerConnected(playerid))

    {

                GetPlayerName(playerid, name, sizeof(name));

        }

        else

        {

            name = "Unknown";

        }

        return name;

  }

Ma puteti ajuta?

Respecta Si Vei Fi Respectat !!!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.