26.12.2012, 10:15
(
Последний раз редактировалось DaRk_RaiN; 26.12.2012 в 10:54.
)
Try this.
pawn Код:
#include <a_samp>
new vgate;
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
vgate = CreateObject(19458, 2433.04, -2064.56, -15.71, 0.00, 0.00, 90.00);//closed
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/ovgate", true) == 0)
{
MoveObject(vgate, 2430.00, -2064.50, -15.71, -1000, -1000, -1000);
return 1;
}
if(strcmp(cmdtext,"/cvgate", true) == 0)
{
MoveObject(vgate, 2433.04, -2064.56, -15.71, -1000, -1000, -1000);
return 1;
}
return 0;
}