tak sem to poupravim ale hazi mi to furt to stejny...
Nuke porad pls...
#include
// This is a comment
// uncomment the line below if you want to write a filterscript
new brana
#if defined FILTERSCRIPT
#endif
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" 82nd GATE By MaTy ");
print("--------------------------------------\n");
brana = CreateObject(971, -0.23098963499069, 2063.3933105469, 20.017778396606, -0.23098963499069, 2063.3933105469, 20.017778396606);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/gateo", cmdtext, true) == 0);
{
MoveObject(brana, -0.23098963499069, 2063.3933105469, 10.017778396606,3);
return 1;
}
if (strcmp("/gatec", cmdtext, true) == 0);
{
MoveObject(brana, -0.23098963499069, 2063.3933105469, 20.017778396606,3);
return 1;
}
return 0;
}