[Help] Gate
#1

Hi, I got this filterscript that makes a gate to move. All fine there.

Quote:

#include <a_samp>
new obj;

public OnGameModeInit()
{
obj = CreateObject(971,1146.9829101563,-1385.0897216797,12.67054271698, 0.0, 0.0, 0.0);
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/lsmd1", true) == 0)
{
new string[50];
new movetime = MoveObject(obj, 1154.3721923828, -1384.8677978516, 12.67054271698, 2.00);
format(string, sizeof(string), "It will close in 5 seconds.", 500);
SendClientMessage(playerid, 0xFF000000, string);
return 1;
}
return 0;
}

But I cant get it to close automaticly after 5 segs. Somebody can help?
Thanks.
Reply


Messages In This Thread
[Help] Gate - by Fedee! - 08.01.2010, 16:45
Re: [Help] Gate - by waza75 - 08.01.2010, 16:52
Re: [Help] Gate - by Correlli - 08.01.2010, 16:53
Re: [Help] Gate - by waza75 - 08.01.2010, 16:55
Re: [Help] Gate - by Fedee! - 08.01.2010, 17:08
Re: [Help] Gate - by Correlli - 08.01.2010, 17:12
Re: [Help] Gate - by Rensieboy14 - 08.01.2010, 19:22
Re: [Help] Gate - by Fedee! - 08.01.2010, 19:40
Re: [Help] Gate - by Fedee! - 08.01.2010, 21:49
Re: [Help] Gate - by Fedee! - 09.01.2010, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)