Problem
#1

hi , can someone tell me what could cause.. so if a player high jacks my car i want to lose job and vehicle to respawn .. and none of them work why??

PHP Code:
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
                        {
                            new 
veh GetPlayerVehicleID(playerid);
                            if(
PlayerInfo[playerid][pJob] == 20)
                            {
                                if(
IsAFarmerCar(vehi))
                                {
                                    
SendClientMessage(playeridCOLOR_RED"You exited the vehicle !");
                                    
SetVehicleToRespawn(veh);
                                    
printf("Testing");
                                  }
                            }
                        } 
Reply


Messages In This Thread
Problem - by Ugaustin - 11.06.2016, 12:32
Re: Problem - by Ugaustin - 11.06.2016, 13:30
Re: Problem - by Adeon - 11.06.2016, 13:37
Re: Problem - by Ugaustin - 11.06.2016, 13:45
Re: Problem - by Vince - 11.06.2016, 13:47
Re: Problem - by Ugaustin - 11.06.2016, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)