vorota a clan
#1

Код HTML:
#include <a_samp>
#pragma tabsize 0

new gate;

forward GateClose(playerid);

public OnFilterScriptInit()
{
    gate = CreateObject(980, 1521.8, 2773, 12.4, 0.0, 0.0, 270.0);
	return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp(cmdtext, "/voroga", true)==0)
    {
    MoveObject(gate, 1521.8, 2773, 17.6, 1.0);
    SetTimer("GateClose", 10000, 0);
    return 1;
}
return 1;
}
  
        
public GateClose(playerid)
{
      MoveObject(gate, 1521.8, 2773, 12.4, 1.0);
      return 1;
}
how to make this command could only use clan ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)