Need Help
#7

Get rid of this section and see what it's like:

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetPVarInt(playerid,"used") == 0)
{
new p = GetPlayerVehicleID(playerid);
pObj[playerid] = CreatePlayerObject(playerid,19300, 0.0000, -1282.9984, 10.1493, 0.0000, -1, -1, 100);
AttachPlayerObjectToVehicle(playerid,pObj[playerid],p,-0.314999, -0.195000, 0.510000, 0.000000, 0.000000, 0.000000);
AttachCameraToPlayerObject(playerid,pObj[playerid]);
SetPVarInt(playerid,"used",1);
}
}
else if(GetPVarInt(playerid,"used") == 1)
{
SetCameraBehindPlayer(playerid);
DestroyPlayerObject(playerid,pObj[playerid]);
SetPVarInt(playerid,"used",0);
}
Reply


Messages In This Thread
Need Help - by spiderr - 12.10.2013, 11:58
Re: Need Help - by DanishHaq - 12.10.2013, 12:08
Re: Need Help - by spiderr - 12.10.2013, 12:12
Re: Need Help - by Astralis - 12.10.2013, 12:17
Re: Need Help - by DanishHaq - 12.10.2013, 12:19
Re: Need Help - by spiderr - 12.10.2013, 13:11
Re: Need Help - by DanishHaq - 12.10.2013, 13:16
Re: Need Help - by spiderr - 12.10.2013, 13:29
Re: Need Help - by spiderr - 12.10.2013, 14:54
Re: Need Help - by DanishHaq - 12.10.2013, 14:57

Forum Jump:


Users browsing this thread: 1 Guest(s)