Gate Help ???
#1

Quote:

#include <a_samp>
#include <streamer>
new hanger1;
new hanger2;
public OnFilterScriptInit()
{
hanger1 = CreateObject(16775, 286.50, 1950.23, 19.09, 0.00, 0.00, 90.00);
hanger2 = CreateObject(16775, 286.50, 1963.25, 18.96, 0.00, 0.00, 90.00);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/gateopen1", true))
{
MoveObject(hanger1,286.52, 1950.23, 12.46, 0.00, 0.00, 90.00);
MoveObject(hanger2,286.50, 1963.25, 12.65, 0.00, 0.00, 90.00);
return 1;
}
if(!strcmp(cmdtext, "/test1", true))
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 290.71, 1954.90, 17.02);
return 1;
}
if(!strcmp(cmdtext, "/gateclose1", true))
{
MoveObject(hanger1,286.50, 1950.23, 19.09, 0.00, 0.00, 90.00);
MoveObject(hanger2,286.50, 1963.25, 18.96, 0.00, 0.00, 90.00);
return 1;
}
return 0;
}

This script is being compiled correctly no errors but when im testing it will not open can you tell me why
Reply


Messages In This Thread
Gate Help ??? - by zT KiNgKoNg - 24.06.2012, 19:44
Re: Gate Help ??? - by Grand_Micha - 24.06.2012, 19:49
Re: Gate Help ??? - by zT KiNgKoNg - 24.06.2012, 20:09
Re: Gate Help ??? - by Grand_Micha - 24.06.2012, 20:12

Forum Jump:


Users browsing this thread: 2 Guest(s)