Problem for remove player from train
#1

I have problem.
Code:

PHP код:
     if(newstate == PLAYER_STATE_PASSENGER)
    {
        if(
GetVehicleModel(newcar) == 538 || 570)
           {
               if(
PlayerInfo[playerid][pTicketTrain] == 1)
               {
                   
PlayerInfo[playerid][pTicketTrain]--;
                   return 
1;
               }
               else
               {
                   
RemovePlayerFromVehicle(playerid);
                  return 
1;
               }
        }
    } 
What is wrong?
Reply


Messages In This Thread
Problem for remove player from train - by Dima_Tkach - 05.01.2012, 08:56
Re: Problem for remove player from train - by Norck - 05.01.2012, 08:58
Re: Problem for remove player from train - by Dima_Tkach - 05.01.2012, 09:04
Re: Problem for remove player from train - by Norck - 05.01.2012, 09:07
Re: Problem for remove player from train - by Dima_Tkach - 05.01.2012, 09:11
Re: Problem for remove player from train - by Norck - 05.01.2012, 09:14
Re: Problem for remove player from train - by Dima_Tkach - 05.01.2012, 09:22
Re: Problem for remove player from train - by Norck - 05.01.2012, 09:27
Re: Problem for remove player from train - by Dima_Tkach - 05.01.2012, 09:33
Re: Problem for remove player from train - by Norck - 05.01.2012, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)