Rent system - States
#2

maybe use it on OnPlayerEnterVehicle..

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
   if(RentVozila(vehicleid))
   {
      if(Rentano[playerid] != vehicleid)
      {
         ShowPlayerDialog(playerid,DIALOG_RENT,DIALOG_STYLE_LIST,"Iznamjite vozilo","[1] Rent Vrijeme - N/A (500$)","Odaberi","Izlaz");
         TogglePlayerControllable(playerid,0);
      }
   }
   return 1;
}
Reply


Messages In This Thread
Rent system - States - by NoDi522 - 17.03.2015, 15:36
Re: Rent system - States - by ReD_HunTeR - 17.03.2015, 16:01
Re: Rent system - States - by NoDi522 - 17.03.2015, 16:16
Re: Rent system - States - by NoDi522 - 18.03.2015, 15:12
Re: Rent system - States - by CalvinC - 18.03.2015, 15:15
Re: Rent system - States - by NoDi522 - 18.03.2015, 15:16
Re: Rent system - States - by NoDi522 - 18.03.2015, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)