15.09.2012, 18:10
hello,
now I have this: (the part when the player is being put in the veh)
and I get this: Warning(s007): Exception 0xC0000005 at 0x47F8B2
BUT! this only occurs when typing /car while IN A CAR already. otherwise, it doesn't.
could you please help me? or maybe even check it out if it does for you too?
now I have this: (the part when the player is being put in the veh)
Код:
new Float:iPos[2+1],Float:iAngle; RemovePlayerFromVehicle(playerid); DestroyVehicle(pDetails[playerid][aCar]); GetPlayerFacingAngle(playerid,iAngle); GetPlayerPos(playerid,iPos[0],iPos[1],iPos[2]); pDetails[playerid][aCar] = CreateVehicle(cModel,iPos[0],iPos[1],iPos[2],iAngle,iColor[0],iColor[1],0); PutPlayerInVehicle(playerid,pDetails[playerid][aCar],0);
BUT! this only occurs when typing /car while IN A CAR already. otherwise, it doesn't.
could you please help me? or maybe even check it out if it does for you too?