22.07.2009, 09:16 
	
	
	
		Hello,
I'm doing something wrong to make this work here, i just cant figure it out maybe you can ?
on top of script i have; 
new boat;
new SFbo;
new open;
I want to make this vehicle (boat) to be able to open the carrierdoor
	
	
	
I'm doing something wrong to make this work here, i just cant figure it out maybe you can ?
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	
 	if(newkeys == KEY_SUBMISSION)
 	{
	boat = GetPlayerVehicleID(playerid);//
	if(boat==SFbo)
	{
	MoveObject(open, -1469.41, 501.16, 11.82, 2.00 );//opening the carrierdoor
  SendClientMessage(playerid, 0xFF7B7BAA, "your opening the carrierdoor!.");
	}
}
  
  return 1;
  }
new boat;
new SFbo;
new open;
I want to make this vehicle (boat) to be able to open the carrierdoor

