Script Help {Gates}
#1

Quote:

#include <a_samp>
#include <streamer>
new maing;
#define Admin 0xFF0000FF
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Multiple Gates ");
print("--------------------------------------\n");
maing = CreateDynamicObject(2938, 1100.59, 2293.79, 11.51, 0.00, 0.00, 0.00);//Main Gate For The Car
Create3DTextLabel("Server Founder Only",Admin ,0.35, 3.50, -1.43, 40.0, 0, 0); // info label
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{

if (strcmp("/fo", cmdtext, true, 10) == 0)
{

MoveDynamicObject(maing, 1100.59, 2293.79, 7.29, 0.00, 0.00, 0.00);
GameTextForPlayer(playerid, "~g~Founders Gate Opening~n~Browsing", 4000, 5);
return 1;
}
if (strcmp("/fc", cmdtext, true, 10) == 0)
{
MoveDynamicObject(maing, 1100.59, 2293.79, 11.51, 0.00, 0.00, 0.00);
GameTextForPlayer(playerid, "~g~Founders Gate Opening~n~Leaving", 4000, 5);
return 1;
}
if (strcmp("/ft", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,1097.90, 2293.19, 10.63);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid, "~g~Teleporting.", 4000, 5);
return 1;
}
return 0;
}

Please could some one look at this script and tell me go to get it working (PS. the commands are working its just the object's that won't move when the command is given and its the game with PointToPoint thingy)
Reply


Messages In This Thread
Script Help {Gates} - by zT KiNgKoNg - 25.06.2012, 13:23
Re: Script Help {Gates} - by Grand_Micha - 25.06.2012, 15:08
Re: Script Help {Gates} - by zT KiNgKoNg - 25.06.2012, 15:31

Forum Jump:


Users browsing this thread: 2 Guest(s)