Gate Filterscript
#8

Quote:
Originally Posted by Jack-
Посмотреть сообщение
It doesnt compile i get this error for lines 13 16 21 24
error 010: invalid function or declaration
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;
}
Reply


Messages In This Thread
Gate Filterscript - by Jack- - 19.12.2010, 17:58
Re: Gate Filterscript - by Jack- - 19.12.2010, 18:06
Re: Gate Filterscript - by blackwave - 19.12.2010, 18:13
Re: Gate Filterscript - by Jack- - 19.12.2010, 18:14
Re: Gate Filterscript - by Norck - 19.12.2010, 18:16
Re: Gate Filterscript - by Jack- - 19.12.2010, 18:19
Re: Gate Filterscript - by MadeMan - 19.12.2010, 18:22
Re: Gate Filterscript - by Norck - 19.12.2010, 18:22
Re: Gate Filterscript - by Jack- - 19.12.2010, 20:52
Re: Gate Filterscript - by Face9000 - 19.12.2010, 21:21

Forum Jump:


Users browsing this thread: 2 Guest(s)