[Include] MidoStream - Flexible Object Streamer
#58

Quote:
Originally Posted by buonggiorno
can i get help here?

i do next

1. i put MidoStream.inc into pawno folder includes.
2. open MidoStream.pwn and compile it
3. than i define new object in my case its pgate and i put it like this
Code:
new lvgate;
new pgate; => here is my gate
new sajgate;
new ygate;
new gLastCar[301];
new gOoc[MAX_PLAYERS];
than i made object like this pgate = CreateStreamObject(xxxxx,x,x,x,xxx...)
here is code

Code:
ygate = CreateStreamObject(980,1245.712,-773.096,93.252,0.0,0.0,0.0);
	hitmangate = CreateStreamObject(980,1027.593,-369.597,75.500,0.0,0.0,0.0);
	sajgate = CreateStreamObject(976,-1534.499,482.124,6.349,0.0,0.0,0.0);
      pgate = CreateStreamObject(986,818.433,-2517.337,8.556,0.0,0.0,0.0); => this is my gate
After that i do this

Code:
public OnPlayerDisconnect(playerid)
{

      MidoStreamDisconnect(playerid); => i add like this, i didnt shure is this ok
	gActivePlayers[playerid]--;
	numplayers--;
	PlayerInfo[playerid][pAdjustable] = 1;
	OnPlayerUpdate(playerid);
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
And at the end i make cmd

Code:
if (strcmp(cmdtext, "/pot", true)==0)
	{
		if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
		{
  		MoveStreamObject(pgate,818.433,-2517.337,1.256, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE OPEN.");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "NOT A COP.");
	}
	if (strcmp(cmdtext, "/pza", true)==0)
	{
		if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
		{
 			MoveStreamObject(pgate,818.433,-2517.337,8.556, 8.0);
			SendClientMessage(playerid, COLOR_GREEN, "GATE CLOSE");
		}
		else return SendClientMessage(playerid, COLOR_GREEN, "NOT A COP.");
	}
when i type cmd i see message OPEN/CLOSE GATE but there is no gate, maybe i didnt use good streamer?
can somebody help me with this?
http://forum.sa-mp.com/index.php?topic=136828.0
Stop spamming,goddamn it.
Reply


Messages In This Thread
MidoStream - Flexible Object Streamer - by MidoBan - 14.06.2008, 21:02
Re: MidoStream - Object Streamer attach/move/create/destroy... - by yom - 14.06.2008, 21:58
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 06:21
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Zh3r0 - 15.06.2008, 06:37
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 06:45
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Amit_B - 15.06.2008, 07:10
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 07:23
Re: MidoStream - Object Streamer attach/move/create/destroy... - by cocakiller - 15.06.2008, 08:02
Re: MidoStream - Object Streamer attach/move/create/destroy... - by [IB]Scorcher - 15.06.2008, 08:07
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Yaheli_Faro - 15.06.2008, 08:07
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 08:22
Re: MidoStream - Object Streamer attach/move/create/destroy... - by TalBarami - 15.06.2008, 08:57
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Yaheli_Faro - 15.06.2008, 08:59
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Zh3r0 - 15.06.2008, 09:04
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Yaheli_Faro - 15.06.2008, 09:06
Re: MidoStream - Object Streamer attach/move/create/destroy... - by TalBarami - 15.06.2008, 09:52
Re: MidoStream - Object Streamer attach/move/create/destroy... - by NewB - 15.06.2008, 11:52
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 12:12
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Spike_VoiD - 15.06.2008, 12:32
Re: MidoStream - Object Streamer attach/move/create/destroy... - by cptnsausage - 15.06.2008, 12:40
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Slash991 - 15.06.2008, 13:19
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 13:49
Re: MidoStream - Object Streamer attach/move/create/destroy... - by blewert - 15.06.2008, 14:01
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 14:10
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 15.06.2008, 22:51
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Angelhj - 16.06.2008, 04:24
Re: MidoStream - Object Streamer attach/move/create/destroy... - by Float - 16.06.2008, 08:52
Re: MidoStream - Object Streamer attach/move/create/destroy... - by filipyoyo - 16.06.2008, 15:36
Re: MidoStream - Object Streamer attach/move/create/destroy... - by MidoBan - 16.06.2008, 18:58
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Float - 18.06.2008, 06:03
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 28.09.2008, 12:47
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 28.09.2008, 12:50
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Doktor - 28.09.2008, 16:45
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by julian_caka - 28.09.2008, 16:58
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Yaheli_Faro - 28.09.2008, 17:01
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by silvan - 29.09.2008, 06:36
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 04.10.2008, 01:25
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 04.10.2008, 01:30
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by OG BOBO - 04.10.2008, 06:53
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by silvan - 04.10.2008, 10:59
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by RyDeR` - 13.09.2009, 11:43
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Adil - 13.09.2009, 12:21
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by GiP_YossI - 13.09.2009, 17:36
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by XCultz - 13.09.2009, 17:38
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Mustafacc - 15.09.2009, 11:01
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Blokkmonsta - 20.09.2009, 19:33
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by On_Top_Non_Stop - 20.09.2009, 21:09
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 20.09.2009, 22:19
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by BP13 - 21.09.2009, 02:00
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 21.09.2009, 09:46
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 29.11.2009, 15:44
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by OverLord* - 29.11.2009, 16:19
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Mystique - 29.11.2009, 16:47
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by CracK - 29.11.2009, 17:04
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by MidoBan - 29.11.2009, 17:09
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Jeffry - 03.12.2009, 12:51
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by buonggiorno - 03.12.2009, 14:42
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by [XST]O_x - 03.12.2009, 14:53
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by member - 03.12.2009, 14:54
Re: MidoStream - Flexible Object Streamer attach/move/create/destroy... - by Cedimedi - 11.12.2009, 20:19
Re: MidoStream - Flexible Object Streamer - by Lorenc_ - 03.05.2010, 07:04
Re: MidoStream - Flexible Object Streamer - by neko_ceko - 03.05.2010, 12:59
Re: MidoStream - Flexible Object Streamer - by [SF]RobMob - 03.05.2010, 22:46
Re: MidoStream - Flexible Object Streamer - by Chilliad - 12.05.2010, 04:08
Re: MidoStream - Flexible Object Streamer - by thewarrior - 12.05.2010, 04:36
Re: MidoStream - Flexible Object Streamer - by Andy_McKinley - 22.05.2010, 21:21
Re: MidoStream - Flexible Object Streamer - by Cedimedi - 22.05.2010, 21:36
Re: MidoStream - Flexible Object Streamer - by zSuYaNw - 22.05.2010, 23:30
Re: MidoStream - Flexible Object Streamer - by BP13 - 23.05.2010, 00:58
Re: MidoStream - Flexible Object Streamer - by [SF]OutLawZ - 23.05.2010, 09:16
Re: MidoStream - Flexible Object Streamer - by titanak - 29.08.2010, 17:21
Re: MidoStream - Flexible Object Streamer - by sleepysnowflake - 10.11.2010, 11:14
Re: MidoStream - Flexible Object Streamer - by Brian_Furious - 10.11.2010, 11:39
Re: MidoStream - Flexible Object Streamer - by sleepysnowflake - 10.11.2010, 14:57
Re: MidoStream - Flexible Object Streamer - by SeQualX - 10.11.2010, 15:02
Re: MidoStream - Flexible Object Streamer - by Zh3r0 - 10.11.2010, 15:22
Re: MidoStream - Flexible Object Streamer - by SeQualX - 10.11.2010, 15:25
Re: MidoStream - Flexible Object Streamer - by Swat007forever - 01.01.2011, 18:44
Re: MidoStream - Flexible Object Streamer - by LastofHero - 05.01.2011, 07:43
Re: MidoStream - Flexible Object Streamer - by Stheam - 06.02.2011, 10:05
Re: MidoStream - Flexible Object Streamer - by GBLTeam - 10.04.2011, 13:04
Re: MidoStream - Flexible Object Streamer - by Gray - 10.04.2011, 13:12
Re: MidoStream - Flexible Object Streamer - by adios1 - 09.06.2011, 17:51
Re: MidoStream - Flexible Object Streamer - by Hunted...Killed - 26.09.2011, 21:30
Re: MidoStream - Flexible Object Streamer - by StreetGT - 09.10.2011, 19:55
Re: MidoStream - Flexible Object Streamer - by SA_Claude - 22.10.2011, 08:47
Re: MidoStream - Flexible Object Streamer - by denNorske - 28.04.2012, 21:41
Re: MidoStream - Flexible Object Streamer - by JaKe Elite - 16.09.2012, 11:13
Re: MidoStream - Flexible Object Streamer - by Plovix - 10.11.2012, 07:53
Re: MidoStream - Flexible Object Streamer - by NoahF - 10.11.2012, 10:53
Re: MidoStream - Flexible Object Streamer - by Wayland - 14.12.2013, 10:57
Re: MidoStream - Flexible Object Streamer - by newbie scripter - 14.12.2013, 10:59
Respuesta: MidoStream - Flexible Object Streamer - by jurgen - 21.02.2014, 16:14
Re: Respuesta: MidoStream - Flexible Object Streamer - by Riddy - 21.02.2014, 17:05

Forum Jump:


Users browsing this thread: 8 Guest(s)