Need help.
#1

Hello. I'm trying to do if player exit vehicle he would be put in his last vehicle.. I do almost everything but I don't know how to but player in vehicle.. Here is the script

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(pInfo[playerid][Event][2] == true && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && pInfo[playerid][SfStuntLvl] == 1)
	{
		SetPlayerPos(StuntVeh, -1683.7195,551.2001,38.0144);
		SetPlayerFacingAngle(StuntVeh, 316.9490);
           PutPlayerInVehicle(playerid, veh.., 0);
	}
	return 1;
}
With player pos all good.. Server sets pos in these coords..
Reply


Messages In This Thread
Need help. - by lakierka - 14.12.2009, 17:03
Re: Need help. - by LarzI - 14.12.2009, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)