Dynamic Vehicle [Rent]
#2

pawn Код:
if(strcmp(cmd,"/setrentalcar",true)==0)//xkniives
  {
IsRentalVehicle[GetPlayerVehicleID(playerid)] = 1;
return 1;
}
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
 if(IsRentalVehicle[vehicleid] == 1)
{
///do something here
}
}

Don't copy and paste. I'm just giving you an idea of what you can do.
Reply


Messages In This Thread
Dynamic Vehicle [Rent] - by Anthonyx3' - 25.11.2010, 00:13
Re: Dynamic Vehicle [Rent] - by Jacob_Venturas - 25.11.2010, 05:12
Re: Dynamic Vehicle [Rent] - by Anthonyx3' - 25.11.2010, 05:55

Forum Jump:


Users browsing this thread: 1 Guest(s)