Gate -
cooljoey99 - 09.01.2010
Can some1 make for me a gate?
Gate Closes (up): CreateObject(980, 1288.7249755859, -2056.90234375, 60.266548156738, 0, 0, 90);
Gate Opened(Down):CreateObject(980, 1288.7249755859, -2056.90234375, 54.266548156738, 0, 0, 90);
And with a command that only 2 ppl can make it open plz ?
Re: Gate -
Adamus - 09.01.2010
Try to do it yourself. For tip:
https://sampwiki.blast.hk/wiki/MoveObject
Re: Gate -
cooljoey99 - 09.01.2010
ty but how do i make commadn that only 2 ppl can open it?
Re: Gate -
Niixie - 09.01.2010
make a register system or do it with only rcons can open the gate
Re: Gate -
cooljoey99 - 09.01.2010
and if only gang color can open it isnt that easier?.
I get this now :S and when i type /gd it doesnt work.
D:\Rockstar Games\GTA San Andreas\gamemodes\DD.pwn(40) : warning 217: loose indentation
D:\Rockstar Games\GTA San Andreas\gamemodes\DD.pwn(95) : warning 217: loose indentation
D:\Rockstar Games\GTA San Andreas\gamemodes\DD.pwn(151) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
D:\Rockstar Games\GTA San Andreas\gamemodes\DD.pwn(165) : warning 217: loose indentation
D:\Rockstar Games\GTA San Andreas\gamemodes\DD.pwn(169) : warning 217: loose indentation
D:\Rockstar Games\GTA San Andreas\gamemodes\DD.pwn(177) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Warnings.
Lines:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/gu", true) == 0)
{
new string[160];
new movetime = MoveObject(980,1288.7249755859, -2056.90234375, 60.266548156738, 2.00 );
format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
if(strcmp(cmdtext, "/gd", true) == 0)
MoveObject(980, 1288.7249755859, -2056.90234375, 54.266548156738, 2.00);
format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
return 1;
}
return 0;
}
Re: Gate -
cooljoey99 - 09.01.2010
ops srry for double post
Re: Gate -
SiJ - 09.01.2010
Thread:
READ THIS BEFORE POSTING! (RULES TO FOLLOW)
Line: How to make and control gates
http://forum.sa-mp.com/index.php?topic=54701.0
Re: Gate -
cooljoey99 - 09.01.2010
plz fix it man idk how it works and i aint good in english