Question

Здравствуйте, помогите пикапы стоят всё норм но когда на них встаёшь они не работают, подскажите что делать

new bankpick[1];


    if(pickupid == bankpick[0])
	{
	    FreezePlayer(playerid, 2000);
	    SetPlayerInterior(playerid,0);
	    SetPlayerPos(playerid,-2378.2255,1077.0244,2585.4399);
		SetPlayerFacingAngle(playerid,270.1083);
		SetPlayerVirtualWorld(playerid,0);
		SetCameraBehindPlayer(playerid);
	}
	if(pickupid == bankpick[1])
	{
	    SetPlayerInterior(playerid,0);
		SetPlayerPos(playerid,515.5252,577.0741,12.0149);
		SetPlayerFacingAngle(playerid,90.0008);
		SetPlayerVirtualWorld(playerid,0);
		SetCameraBehindPlayer(playerid);
	}



	// банк
	bankpick[0] = CreateDynamicPickup(19133,23,120.1890,575.0144,13.0119);
	bankpick[1] = CreateDynamicPickup(19133,23,-1382.2393,1077.8856,2585.4399);

 

Share this post


Link to post

1 answer to this question

  • 0

Уверены что это:

Спойлер

    if(pickupid == bankpick[0])
	{
	    FreezePlayer(playerid, 2000);
	    SetPlayerInterior(playerid,0);
	    SetPlayerPos(playerid,-2378.2255,1077.0244,2585.4399);
		SetPlayerFacingAngle(playerid,270.1083);
		SetPlayerVirtualWorld(playerid,0);
		SetCameraBehindPlayer(playerid);
	}
	if(pickupid == bankpick[1])
	{
	    SetPlayerInterior(playerid,0);
		SetPlayerPos(playerid,515.5252,577.0741,12.0149);
		SetPlayerFacingAngle(playerid,90.0008);
		SetPlayerVirtualWorld(playerid,0);
		SetCameraBehindPlayer(playerid);
	}

 

Находится в паблике OnPlayerPickUpDynamicPickup ?

Share this post


Link to post
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content