Posts: 51
Threads: 5
Joined: Aug 2009
Reputation:
0
ty but how do i make commadn that only 2 ppl can open it?
Posts: 523
Threads: 34
Joined: Aug 2008
Reputation:
0
make a register system or do it with only rcons can open the gate
Posts: 51
Threads: 5
Joined: Aug 2009
Reputation:
0
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;
}
Posts: 51
Threads: 5
Joined: Aug 2009
Reputation:
0
plz fix it man idk how it works and i aint good in english