going to a position problem!
#1

im having problems with the position when i try to spawn at house i spawn at blueberry access
or when i try to /gotopos x y z int again it sends me to blueberry access
is there anything i can do about it ??
Reply
#2

blueberry ?

maybe positon 0.0, 0.0, 0.0;

You dont send correct parameters to your function.
check your parameters.
Reply
#3

The script code ?
Reply
#4

CODE:
pawn Код:
new phome = PlayerInfo[playerid][phkey];
if(GetPlayerVirtualWorld(playerid) == phome)
{
    SetPlayerPosEx(playerid, HouseInfo[phome][HouseInsideX], HouseInfo[phome][HouseInsideY], HouseInfo[phome][HouseInsideZ]);
    SetPlayerFacingAngle(playerid, HouseInfo[phome][HouseInsideA]);
    SetPlayerInterior(playerid, HouseInfo[phome][HouseInterior]);
    SetPlayerVirtualWorld(playerid, HouseInfo[phome][HouseVirtual]);
}
Reply
#5

Define your "HouseInfo" variable as FLOAT.

I also had this problem some weeks ago.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)