19.12.2010, 18:22
pawn Код:
#include <a_samp>
new vgate;
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
vgate = CreateObject(971,2908.698974,2088.360351,12.570116,0.000000,0.000000,0.201737);//closed
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/ovgate", true) == 0)
{
MoveObject(vgate, 2908.698974,2088.360351,5.949101, 1.500000);
return 1;
}
if(strcmp(cmdtext,"/cvgate", true) == 0)
{
MoveObject(vgate, 2908.698974,2088.360351,12.570116, 1.500000);
return 1;
}
return 0;
}