30.07.2014, 14:31
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 448)
{
if(pInfo[playerid][IsPlayerPizzaboy] == true)
{
new rand = random(sizeof(pizzaDelivery));
SetPlayerCheckpoint(playerid, pizzaDelivery[rand][0], pizzaDelivery[rand][1], pizzaDelivery[rand][2], 3.0);
}
}
return 1;
}