Jump to content
  • 0

Problema Pdgate.


ToX1c

Question

Salut am si eu o problema cu pot sa fac portile de la lspd sa nu mai se deschida de catre playeri din alta factiune vreau sa deschida doar pd.fbi.ng..

<removed> - folosesti http://pawn.sa-mp.ro/

2.Vreau si eu un anticheat sa dea automat ban cand cineva baga chat.ms.

- un topic pt fiecare problema

-Verifica reguliile altfel vei fii banat daca se mai repeta - (titlul)

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Ms lideru

Vreau si aici sa ma ajute cineva

2.Vreau si eu un anticheat sa dea automat ban cand cineva baga chat.ms.

chat inseamna ceva si cheat altceva

aici nimeni nu iti da anti-chat

poate gasesti pe cineva sa iti dea anti-cheat dar anti-chat nu cred ca exista

if(!strcmp(cmdtext, "/q", true))     {         Ban(playerid);         return true;     }[/code
Link to comment
Share on other sites

Salut am si eu o problema cu pot sa fac portile de la lspd sa nu mai se deschida de catre playeri din alta factiune vreau sa deschida doar pd.fbi.ng..

#include <a_samp>

#pragma tabsize 0

#define BLUE 0x0D7792AA

new gate;
new gate1;
new gate2;

forward GateClose(playerid);
forward GateClose1(playerid);
forward GateClose2(playerid);
// This is a comment
// uncomment the line below if you want to write a filterscript
#define Filterscript
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Cop Gates By Shady91");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Cop Gates By Shady91");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
    gate = CreateObject(968, 1544.745605, -1630.961792, 13.177118, 0.0000, 269.7592, 270.0000);
    CreateObject(994, 1544.744751, -1617.584961, 12.394474, 0.0000, 0.0000, 270.0000);
    CreateObject(994, 1543.487793, -1632.711548, 12.554396, 0.0000, 0.0000, 270.0000);
    gate1 = CreateObject(16773, 1591.846802, -1638.013550, 13.491905, 0.0000, 0.0000, 0.0000);
    CreateObject(1566, 1582.545532, -1637.891357, 13.580875, 0.0000, 0.0000, 0.0000);
   	return 1;
}

public OnGameModeExit()
{
    return 1;
}

public GateClose(playerid)
{
      DestroyObject(gate);
      gate = CreateObject(968, 1544.745605, -1630.961792, 13.177118, 0.0000, 269.7592, 270.0000);
      return 1;
}
public GateClose1(playerid)
{
      MoveObject(gate1, 1591.846802, -1638.013550, 13.491905, 0.8);
      return 1;
}
public GateClose2(playerid)
{
      MoveObject(gate2, 1563.736816, -1617.390381, 12.382813, 0.8);
      return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp(cmdtext, "/pd", true)==0)
    {
	DestroyObject(gate);
	gate = CreateObject(968, 1544.746704, -1630.777222, 13.160947, 0.0000, 359.1406, 270.0000);
	SendClientMessage(playerid, BLUE, "PD Gate Opened It Will Close In 5 Seconds!");
	SetTimer("GateClose", 5000, 0);
    return 1;
    }
    if (strcmp(cmdtext, "/pdgarage", true)==0)
    {
	MoveObject(gate1, 1591.738037, -1638.271606, -2.911936, 0.8);
	SendClientMessage(playerid, BLUE, "PD Garage Opened It Will Close In 10 Seconds!");
	SetTimer("GateClose1", 10000, 0);
    return 1;
    }
	return 0;
}

Ma ajuta si pe mine cineva /...ca nu mere..lideru,

Link to comment
Share on other sites

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.