Help with SetVehicleParamsForPlayer
#8

Quote:
Originally Posted by BeckzyBoi
Use SetPlayerMapIcon and update the position in a timer. When the vehicle streams in use SetVehicleParamsForPlayer to show it and disable your own icon. When the vehicle streams out use SetPlayerMapIcon again.
if i use SetPlayerMapIcon i don't see the icon to

I use this Timer:
pawn Код:
forward VehicleIconUpdate();
public VehicleIconUpdate()
{
    new Float:X,Float:Y,Float:Z;
    GetVehiclePos(Veh,Float:X,Float:Y,Float:Z);
    for(new i=0; i<GetMaxPlayers(); i++)
    {
        if(IsPlayerConnected(i))
        {
          SetPlayerMapIcon(i, 12, X, Y, Z, 19, 0 );
        }
    }
    return 1;
}
Reply


Messages In This Thread
Help with SetVehicleParamsForPlayer - by gijsmin - 11.09.2009, 11:23
Re: Help with SetVehicleParamsForPlayer - by gijsmin - 11.09.2009, 12:03
Re: Help with SetVehicleParamsForPlayer - by gijsmin - 11.09.2009, 12:12
Re: Help with SetVehicleParamsForPlayer - by gijsmin - 11.09.2009, 12:26
Re: Help with SetVehicleParamsForPlayer - by dugi - 11.09.2009, 12:33
Re: Help with SetVehicleParamsForPlayer - by gijsmin - 11.09.2009, 12:48
Re: Help with SetVehicleParamsForPlayer - by BeckzyBoi - 11.09.2009, 16:31
Re: Help with SetVehicleParamsForPlayer - by gijsmin - 11.09.2009, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)