24.06.2011, 15:40
I've got a problem with my gate....
When i tipe the cmd, he just keep going in a way I don't want and he never stops..
So... When my gate open's, he never stops..
Help...
Code:
if (strcmp(cmdtext, "/CO", true)==0){
SendClientMessage(playerid,COLOR_GATE,"(INFO) Gate opening!!");
MoveObject (AutomaticGate,523.959229, 2778.823730, 12.445267, 25.0);
return 1;
}
else
if (strcmp(cmdtext, "/CF", true)==0)
{
SendClientMessage(playerid,COLOR_GATE,"(INFO)Gate closing..!!");
MoveObject (AutomaticGate,523.959229, 2778.823730, 0.445267, 25.0);
return 1;
}
Help me..
When i tipe the cmd, he just keep going in a way I don't want and he never stops..
So... When my gate open's, he never stops..
Help...
Code:
if (strcmp(cmdtext, "/CO", true)==0){
SendClientMessage(playerid,COLOR_GATE,"(INFO) Gate opening!!");
MoveObject (AutomaticGate,523.959229, 2778.823730, 12.445267, 25.0);
return 1;
}
else
if (strcmp(cmdtext, "/CF", true)==0)
{
SendClientMessage(playerid,COLOR_GATE,"(INFO)Gate closing..!!");
MoveObject (AutomaticGate,523.959229, 2778.823730, 0.445267, 25.0);
return 1;
}
Help me..