20.04.2014, 17:25
pawn Код:
switch (GetVehicleModel(GetPlayerVehicleID(playerid))) // Check the vehicle-model of the player to decide which loads the player can carry
{
case VehicleFlatbed, VehicleDFT30: // If the player's vehicle is a "Flatbed" or "DFT-30"
ProductList = Product_GetList(PCV_TruckerNoTrailer, NumProducts); // Build a list of products defined for truckers without a trailer
pawn Код:
switch (GetVehicleModel(GetPlayerVehicleID(playerid))) // Check the vehicle-model of the player to decide which loads the player can carry
{
case VehicleFlatbed, VehicleDFT30, 248: // If the player's vehicle is a "Flatbed" or "DFT-30"
ProductList = Product_GetList(PCV_TruckerNoTrailer, NumProducts); // Build a list of products defined for truckers without a trailer
Dialog_TruckerSelectLoad(playerid, response, listitem)
e
Dialog_TruckerSelectJobMethod(playerid, response, listitem)