Help me With 2 gate's please
#7

C:\Documents and Settings\bunyamin\Bureaublad\Ultimate's Roleplay 0.3c\filterscripts\gangdoors.pwn(59) : error 030: compound statement not closed at the end of file (started at line 47) getting this error....

btw i made little like
Quote:

//=================================//
//Gang Door by Cristiano_Ronaldo =//
//=================================//
#include <a_samp>
new Gate;
new Gate2;

#define KEY_HORN 2
#define COLOR_YELLOW 0xFFFF00AA

#if defined FILTERSCRIPT


public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Gangdoors Created by Cristiano_Ronaldo");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}
#else

main()
{

}

#endif

new obj; // Somewhere at the top of your script

public OnGameModeInit()
{
obj = CreateObject(5020, 2450.3513183594, -1675.4222412109, 14.183507919312, 0, 0, 312);
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{


if (strcmp("/go", cmdtext, true, 10) == 0)
{
MoveObject(Gate, 2450.3513183594,-1675.4222412109,14.183507919312, 3);
SendClientMessage(playerid, 0xFFFF00AA,"The Gate is opened.Welcome!");
return 1;
}
if (strcmp("/gc", cmdtext, true, 10) == 0)
{
MoveObject(Gate, 2450.3513183594,-1675.4222412109,14.183507919312, 3);
SendClientMessage(playerid, 0xFFFF00AA,"The Gate is closed.bye bye!");
return 1;
}

Reply


Messages In This Thread
Help me With 2 gate's please - by ultimaterp - 03.04.2011, 09:49
Re: Help me With 2 gate's please - by Max_Coldheart - 03.04.2011, 09:52
Re: Help me With 2 gate's please - by sansko - 03.04.2011, 09:58
Re: Help me With 2 gate's please - by C-a-g-e - 03.04.2011, 09:58
Re: Help me With 2 gate's please - by ultimaterp - 03.04.2011, 10:46
Re: Help me With 2 gate's please - by C-a-g-e - 03.04.2011, 10:52
Re: Help me With 2 gate's please - by ultimaterp - 03.04.2011, 11:03
Re: Help me With 2 gate's please - by sansko - 03.04.2011, 18:33

Forum Jump:


Users browsing this thread: 2 Guest(s)