10.08.2011, 18:16
pawn Код:
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
new vehid = GetPlayerVehicleID(playerid);
SetPlayerVirtualWorld(playerid, playerid);
SetVehicleVirtualWorld(vehid, playerid);
PutPlayerInVehicle(playerid, vehid, 0);
if(enterexit == 0)
{
SetVehicleVirtualWorld(vehid, 0);
SetPlayerVirtualWorld(playerid, 0);
PutPlayerInVehicle(playerid, vehid, 0);
}
return 1;
}