Electric Vence
#5

Quote:
Originally Posted by Alex
If you use YSI you can just do:

pawn Код:
CreateGate(model, XPosition, YPosition, ZPosition, XTarget, YTarget, ZTarget);
Where the targets are where the gate opens to.
I'll check this.

Quote:
Originally Posted by splitx
this is my two pdgates
OnTop
pawn Код:
New pdngate;
New pdgate;
OnGameModeInit
pawn Код:
pdgate = CreateObject(969, 2237.2834, 2457.1211, 10.0000, 0.0000, 0.0000, -90);
pdngate = CreateObject(969, 2319.9072, 2450.9280, 3.0000, 0.0000, 0.0000, -90);
OnPlayerCommandText
pawn Код:
}
//pd gate 1
if (strcmp(cmdtext, "/pdopen", true)==0)
   {
   MoveObject (pdgate,2236.8877, 2465.6880, 10.0000, 2.5);
   MoveObject (pdngate,2319.2393, 2440.1260, 3.2734, 2.5);
   SendClientMessage(playerid, COLOR_YELLOW,"PdGate Open");
   return 1;
   }
if (strcmp(cmdtext, "/pdclose", true)==0)
 {
 MoveObject (pdgate,2237.2834, 2457.1211, 10.0000, 2.5);
 MoveObject (pdngate,2319.9072, 2450.9280, 3.2734, 2.5);
 SendClientMessage(playerid, COLOR_YELLOW,"PdGate Closed");
 return 1;
 }
Test It
Thanks, will check this too.
Reply


Messages In This Thread
Electric Vence - by Zaka - 29.12.2007, 16:00
Re: Electric Vence - by cmg4life - 29.12.2007, 16:05
Re: Electric Vence - by Zaka - 29.12.2007, 16:13
Re: Electric Vence - by splitx - 29.12.2007, 16:36
Re: Electric Vence - by Zaka - 29.12.2007, 16:38
Re: Electric Vence - by splitx - 29.12.2007, 16:49
Re: Electric Vence - by Zaka - 29.12.2007, 17:01
Re: Electric Vence - by splitx - 29.12.2007, 17:12
Re: Electric Vence - by DeltaAirlines12 - 08.11.2009, 00:04
Re: Electric Vence - by pagie1111 - 08.11.2009, 03:24

Forum Jump:


Users browsing this thread: 1 Guest(s)