HELP[Problem]
#1

a frined gave me a cool thing..and doesent work well im supposed to see car interior but sometimes when i go in car i dont see car interior please help!

PHP код:
                if(newstate == PLAYER_STATE_DRIVER)
                {
                if(!
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,-1,"Trebuie sa fiti la volan.");
                {
                if(
GetPVarInt(playerid,"used") == 0)
                {
                new 
car GetPlayerVehicleID(playerid);
                
obj[playerid] = CreatePlayerObject(playerid,193000.0000, -1282.998410.14930.0000, -1, -1100);
                
AttachPlayerObjectToVehicle(playerid,obj[playerid],car,-0.314999, -0.1950000.5100000.0000000.0000000.000000);
                
AttachCameraToPlayerObject(playerid,obj[playerid]);
                
SetPVarInt(playerid,"used",1);
                }
                else if(
GetPVarInt(playerid,"used") == 1)
                {
                
SetCameraBehindPlayer(playerid);
                
DestroyPlayerObject(playerid,obj[playerid]);
                
SetPVarInt(playerid,"used",0);
                }
                } 
Reply


Messages In This Thread
HELP[Problem] - by Dan_Barocu - 24.04.2012, 17:22
Re: HELP[Problem] - by Ballu Miaa - 24.04.2012, 17:44
Re: HELP[Problem] - by Dan_Barocu - 24.04.2012, 17:51
Re: HELP[Problem] - by Dan_Barocu - 24.04.2012, 18:17
Re: HELP[Problem] - by Dan_Barocu - 24.04.2012, 19:09
Re: HELP[Problem] - by Pinguinn - 24.04.2012, 19:10
Re: HELP[Problem] - by ViniBorn - 24.04.2012, 19:19
Re: HELP[Problem] - by Dan_Barocu - 24.04.2012, 20:15
Re: HELP[Problem] - by Dan_Barocu - 24.04.2012, 20:27
Re: HELP[Problem] - by Dan_Barocu - 24.04.2012, 21:06

Forum Jump:


Users browsing this thread: 1 Guest(s)