Anonymous
public text v1 · immutablenew pdgate;
//-----------
pdgate = CreateObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0); //on [gm] init
//-----------
if(strcmp(cmd, "/openlspd", true) == 0)
{
if(gTeam[playerid] == 2 || IsACop(playerid))
{
MoveObject(pdgate, 1588.5617, -1638.0871, 5.7200, 1);
}
}
if(strcmp(cmd, "/closelspd", true) == 0)
{
if(gTeam[playerid] == 2 || IsACop(playerid))
{
MoveObject(pdgate, 1588.5617, -1638.0871, 12.7200, 1);
}
}