Question

Спойлер

error 035: argument type mismatch (argument 1)

Спойлер

    if(newkeys == 2)
    {
        if (PlayerToPoint(10, playerid,1790.9414,-1903.5508,498.5519))
        {
            if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Вы не в машине!");
            new house = PlayerInfo[playerid][pHouse];
            SetVehiclePos(GetPlayerVehicleID(playerid),  HouseInfo[house][hCarx], HouseInfo[house][hCary], HouseInfo[house][hCarz]);
            SetPlayerInterior(playerid,0);
            SetPlayerVirtualWorld(playerid,0);
            SetVehicleZAngle(GetPlayerVehicleID(playerid), HouseInfo[house][hCarc]);
            LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
            SetVehicleVirtualWorld(caridhouse[playerid], 0); // тут ошибка
            PlayerInfo[playerid][pInt] = 0;
            return 1;
        }
    }

 

Share this post


Link to post

4 answers to this question

  • 0
12 часов назад, FENRIS сказал:

SetVehicleVirtualWorld(caridhouse[playerid][?]

тут нужно указать еще (где пометил вопросительным знаком) какой из 4 машин менять вирт. мир. 

Share this post


Link to post
  • 0

@FENRIS как объявлено caridhouse?

Share this post


Link to post
  • 0

@DEST 

new
	ChangeSkinv[MAX_PLAYERS],
	RegEx:reklamka,
	AlhambraDJID = INVALID_PLAYER_ID,
	JobsDJ[2],
	BizWarTime,
	paintPic[4],
	connects,
	derby[11],
	caridhouse[MAX_PLAYERS][4]

 

Share this post


Link to post
  • 0

@DEST 

SetVehicleVirtualWorld(caridhouse[playerid][0]);

т.е так да?

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content