All pastes #675854 Raw Edit

Stuff

public text v1 · immutable
#675854 ·published 2007-08-30 15:25 UTC
rendered paste body
I put these under OnGameModeInIt:

new pdgate;
pdgate = CreateObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0);

Then I put this with the rest of the commands:

	if(strcmp(cmd, "/openlspd", true) == 0)
 	{
  		if(gTeam[playerid] == 2 || IsACop(playerid))
    	{
    	    new pdgate;
  			MoveObject(pdgate, 1588.5617, -1638.0871, 5.7200, 1);
     	}
    }
    if(strcmp(cmd, "/closelspd", true) == 0)
    {
    	if(gTeam[playerid] == 2 || IsACop(playerid))
     	{
     	    new pdgate;
   			MoveObject(pdgate, 1588.5617, -1638.0871, 12.7200, 1);
   		}
    }